Pawno Multi Commands
#1

Hi I have Been Haveing Truble With My Script When I whant To Put multi Commands In It Give Me Errors eg.

if (strcmp("/airport", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid, 1986.7913,-2202.7417,13.5469);
return 1;
}
if (strcmp("/help", cmdtext, true 10) == 0)
{
SendPlayerClientMessage(playerid, COLOR_RED, "Just Type /commands or /Telle");
return 1;
}
Then I get This Error......


C:\Program Files\Rockstar Games\GTA San Andreas\samp sever\gamemodes\SF.pwn(149) : error 001: expected token: ",", but found "-integer value-"
C:\Program Files\Rockstar Games\GTA San Andreas\samp sever\gamemodes\SF.pwn(149) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\samp sever\gamemodes\SF.pwn(149) : error 001: expected token: ";", but found ")"
C:\Program Files\Rockstar Games\GTA San Andreas\samp sever\gamemodes\SF.pwn(149) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\samp sever\gamemodes\SF.pwn(149) : fatal error 107: too many error messages on one line


So If You Could Help That Would Be Nice


Thx For Reading This..

Reply


Messages In This Thread
Pawno Multi Commands - by sggassasin - 07.06.2009, 06:44
Re: Pawno Multi Commands - by MPKaboose - 07.06.2009, 06:46
Re: Pawno Multi Commands - by Abernethy - 07.06.2009, 10:15
Re: Pawno Multi Commands - by jana4 - 07.06.2009, 16:00
Re: Pawno Multi Commands - by Weirdosport - 07.06.2009, 17:06
Re: Pawno Multi Commands - by sggassasin - 08.06.2009, 01:59

Forum Jump:


Users browsing this thread: 1 Guest(s)