SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: Vennox
Forum: Maps 10/11/2018, 08:41 PM
Replies: 59
Views: 27,347
Posted By Vennox
Re: [MAP] Liberty City Explore

still nice in 2k18
Forum: Scripting Help 06/10/2018, 10:55 AM
Replies: 2
Views: 133
Posted By Vennox
Re: Update a mysql tabel when the player is offline.

probema ta este ca folosesti return in loop (for). cand folosesti return, returneaza functia si loop-ul nu mai continua. in loc de return 1 in interiorul loop-ului trebuie sa folosesti continue;
...
Forum: Scripting Help 06/10/2018, 10:39 AM
Replies: 3
Views: 106
Posted By Vennox
Re: [Help] I need help with the script

i really don't understand what you want, but here is an improved verison of your script:
CMD:ffind(playerid, params[]){
if(PlayerInfo[playerid][pDuty] == 0 || !IsACop(playerid)) return...
Forum: Scripting Help 04/10/2018, 07:47 AM
Replies: 3
Views: 143
Posted By Vennox
Re: Why its doesn't work ? :O

no. vehicles id start from 1

ur code should be something like this: (if the array PizzaBoy has playerid) (recomanded)


if(PizzaMissionStarted == 1 && InPizzaMission[playerid] == 1)
{...
Forum: Scripting Help 29/09/2018, 10:36 AM
Replies: 5
Views: 87
Posted By Vennox
Re: warning 202: number of arguments does not match definition

oh, i just saw that the warning is not from the gamemode, is from the includes.
try updating YSI
https://github.com/pawn-lang/YSI
Forum: Scripting Help 29/09/2018, 10:27 AM
Replies: 5
Views: 87
Posted By Vennox
Re: warning 202: number of arguments does not match definition

can you please show me exactly the line 1050?
Forum: Scripting Help 18/07/2018, 05:09 PM
Replies: 6
Views: 221
Posted By Vennox
Re: moving from PawnCMD to YCMD does not work

the normal one from sa-mp.com
Forum: Scripting Help 17/07/2018, 11:02 PM
Replies: 6
Views: 221
Posted By Vennox
moving from PawnCMD to YCMD does not work

i've been using pawncmd for the past few weeks and is working pretty fine, buy i heard that it is using a memory hack in the plugin and i'm afraid of issues with the host provider or downsides in...
Forum: Scripting Help 14/07/2018, 04:01 PM
Replies: 8
Views: 263
Posted By Vennox
what is the best command procesor?

so i have to choose between: ycmd, zcmd, pawncmd and lifecmd. what is better (faster, less resource consuming)?
Forum: Maps 12/07/2018, 01:47 PM
Replies: 4
Views: 2,705
Posted By Vennox
Re: Spawn Civil !

awesome map, adv iti zic
Forum: Scripting Help 12/07/2018, 01:36 PM
Replies: 2
Views: 101
Posted By Vennox
Re: PreviewModel don't update ?

Try to re-show the textdraw to the player.

if(dialogid == DIALOG_SEXE)
{
if(response)
{
if(listitem == 0)
{
PlayerInfo[playerid][pSex]=1;SetPlayerSkin(playerid,...
Forum: Scripting Help 08/07/2018, 01:46 PM
Replies: 5
Views: 196
Posted By Vennox
How to make pawn ignore the " character in a string

I want to use " in a string that will be visible to players, for example:
format(string, sizeof(string), "If you don't see the email, check the "spam" folder.");
how to i make pawn ignore the "...
Forum: Scripting Help 19/06/2018, 12:43 AM
Replies: 3
Views: 156
Posted By Vennox
'for(new i..)' in another 'for' not working

Hi, so i have this code:
new PlayerText:SnakeBox[MAX_PLAYERS][9][9];
public OnPlayerConnect(playerid){
for(new i; i < 10; i++){
for(new u; u < 10; u++){
SnakeBox[playerid][i][u] =...
Forum: Scripting Help 03/06/2018, 10:30 PM
Replies: 2
Views: 199
Posted By Vennox
RCON Command through PHP file

Hello, i wonder if i can get this(click) (http://wiki.sa-mp.com/wiki/Remote_Console) in a php file.
For example, if i go to the link http://www.mywebsite.com/rconcmd/gmx or something like that, it...
Forum: Scripting Help 19/05/2018, 02:22 AM
Replies: 1
Views: 128
Posted By Vennox
Re: tracking hit in the vehicle

Gougle translate's english is..
https://news-cdn.softpedia.com/images/news2/facepalm-teens-eating-detergent-banned-on-*******-519447-2.png

This will probably help you:...
Forum: Scripting Help 19/05/2018, 02:19 AM
Replies: 2
Views: 168
Posted By Vennox
Re: pickup an object

make a timer that loops: SetTimer("OneSLoop", 1000, 1);
check for player position near the object:

forward OneSLoop();
public OneSLoop(){
for(new i; i < MAX_PLAYERS; i++){
...
Forum: Scripting Help 19/05/2018, 02:12 AM
Replies: 1
Views: 231
Posted By Vennox
Re: td editor

Use adri1's TDEditor 1.16 (as far as i know, 1.17 is bugged)
Is a lot more easier to use
Adri1's td editor: http://forum.sa-mp.com/showthread.php?t=543002
Download TDE 1.16 (the download link is...
Forum: Scripting Help 19/05/2018, 02:03 AM
Replies: 2
Views: 160
Posted By Vennox
Re: Error Dialog

Look at this screenshot from your code. The { } are highlighted with red

https://i.imgur.com/YIXGKOk.png

You put an extra } there, your code should be:

if (dialogid == Menu_Vip)
{
if...
Forum: Scripting Help 18/05/2018, 02:18 AM
Replies: 6
Views: 259
Posted By Vennox
Re: Colour in purple word in **

ty for explaining.

You can use strreplace from strlib.inc, by Slice: http://forum.sa-mp.com/showthread.php?t=362764
But the problem is that the variable text[] from OnPlayerText cannot be...
Forum: Scripting Help 18/05/2018, 01:21 AM
Replies: 6
Views: 259
Posted By Vennox
Re: Colour in purple word in **

idk what are you trying to say.
look closer at my code, the second time i used strcat, not strfind
public OnPlayerText(playerid, text[]) {
if(strfind(text, "hello", true) != -1) strcat(text,...
Forum: Scripting Help 18/05/2018, 01:09 AM
Replies: 6
Views: 259
Posted By Vennox
Re: Colour in purple word in **

try this:


public OnPlayerText(playerid, text[]) {
if(strfind(text, "hello", true) != -1) strcat(text, "{ff8ed7} *Waving his hand*", sizeof(text));

return 0;
}
Forum: Scripting Help 18/05/2018, 12:35 AM
Replies: 9
Views: 364
Posted By Vennox
Re: MySQL Register/Login

You can start a gamemode with this register / login system made by me:
Is not the latest version of MySQL, but is ok.

Gamemode + .sql file + MySQL plugin >...
Forum: Scripting Help 17/05/2018, 09:43 PM
Replies: 5
Views: 241
Posted By Vennox
Flowers Re: Vehicle interaction

No, there is no function. BUT
You can try making a 1 second timer that is looping
SetTimer("Loop", 1000, 1); //under ongamemodeinit

and check the player pos, speed and vehicle id.


forward...
Forum: Scripting Help 12/05/2018, 10:56 AM
Replies: 9
Views: 428
Posted By Vennox
Re: Help: Delay Spawn Player

forward ClassSelection(playerid, class);
public ClassSelection(playerid, class){
//here you change the player's class: 0 = Negros, 1 = Civiles, 2 = Mafia, etc.
}
public...
Forum: Scripting Help 11/05/2018, 11:07 PM
Replies: 9
Views: 428
Posted By Vennox
Re: Help: Delay Spawn Player

forward ClassSelection(playerid);
public ClassSelection(playerid){
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,...
Showing results 1 to 25 of 31

 

All times are GMT. The time now is 11:14 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.