24.07.2009, 15:52
Hello,
I'm a beginner and I need some help. When I try to compile the script, it says that it have some errors. This is a piece of the script.
public OnPlayerCommandText(playerid, cmdtext[])
{ if(strcmp("/lvairport, true) == 0)
SetPlayerPos(playerid,1922.5964, -1399.8970, 13.5703);
return 1;
}
Does someone know what's wrong with it? Please post this piece of script in good form.
Greet, Jochemd
Btw, this are the errors
I'm a beginner and I need some help. When I try to compile the script, it says that it have some errors. This is a piece of the script.
public OnPlayerCommandText(playerid, cmdtext[])
{ if(strcmp("/lvairport, true) == 0)
SetPlayerPos(playerid,1922.5964, -1399.8970, 13.5703);
return 1;
}
Does someone know what's wrong with it? Please post this piece of script in good form.
Greet, Jochemd
Btw, this are the errors
Quote:
C:\Users\Jochem\Desktop\SA-MP Server\gamemodes\Jochemdmode.pwn(105) : error 037: invalid string (possibly non-terminated string) C:\Users\Jochem\Desktop\SA-MP Server\gamemodes\Jochemdmode.pwn(109) : warning 217: loose indentation |