Help.
#1

Hi guys, I want to make a jetpack cmd but only for 1team...


I got this error:


D:\SA-MP\Test\gamemodes\New1.pwn(432) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

---------------------------------------------------------


Here is the code:

426: CMD:jetpack(playerid, params[])
427: {
428: if(PlayerTeam[playerid] != Spectator ) return SendClientMessage(playerid,COLOR_RED,"[INFO]: {FFFFFF} you are not a Spectator");
429: {
430: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
431: }
432: else
433: {
434: SendClientMessage(playerid, COLOR_RED, "Error: Only Spectator can use this CMD.");
435: }
436: return 1;
437: }


Best Regards. ^_^
Reply


Messages In This Thread
Help. - by Youtube12 - 12.06.2012, 17:21
AW: Help. - by Youtube12 - 12.06.2012, 17:53
Re: Help. - by Smokkr - 12.06.2012, 18:01
Re: Help. - by WillyP - 12.06.2012, 18:05
Re: Help. - by kaisersouse - 12.06.2012, 18:16
AW: Re: Help. - by Youtube12 - 12.06.2012, 20:17

Forum Jump:


Users browsing this thread: 2 Guest(s)