Why noone working ?! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Why noone working ?! (
/showthread.php?tid=152025)
Why noone working ?! -
jonas4334 - 02.06.2010
I Got like 3 scripter pro that gaved me code for do /kill and wait 150 so you can do /kill agian lol just tell me it on easy set becuse im noob on scripting please!
Re: Why noone working ?! -
Antonio [G-RP] - 02.06.2010
Don't make a different topic for the same fucking thing. And its because you are bad at scripting, use something easier like strcmp.
Re: Why noone working ?! -
DJDhan - 02.06.2010
Код:
new bool:timeover[MAX_PLAYERS];
Код:
if(!strcmp(cmdtext,"/kill",true,5)==0)
{
if(timeover=false) return SendClientMessage(playerid,0xffffffaa,"Please wait for 15 seconds before suiciding again");
SetPlayerHealth(playerid,0.0);
SetTimer("timeover2,15000,0);
timeover=false;
}
Код:
forward timeover2(playerid);
public timeover2(playerid)
{
timeover=true;
}
Re: Why noone working ?! -
jonas4334 - 02.06.2010
C:\Users\JonasGg\Desktop\Scripting For sa-mp pawno\gamemodes\StreetlifeHistoryGangLifeV1.2.4.pw n(94) : warning 213: tag mismatch
C:\Users\JonasGg\Desktop\Scripting For sa-mp pawno\gamemodes\StreetlifeHistoryGangLifeV1.2.4.pw n(96) : error 017: undefined symbol "timeover"
C:\Users\JonasGg\Desktop\Scripting For sa-mp pawno\gamemodes\StreetlifeHistoryGangLifeV1.2.4.pw n(96) : warning 215: expression has no effect
C:\Users\JonasGg\Desktop\Scripting For sa-mp pawno\gamemodes\StreetlifeHistoryGangLifeV1.2.4.pw n(96) : error 001: expected token: ";", but found ")"
C:\Users\JonasGg\Desktop\Scripting For sa-mp pawno\gamemodes\StreetlifeHistoryGangLifeV1.2.4.pw n(96) : error 029: invalid expression, assumed zero
C:\Users\JonasGg\Desktop\Scripting For sa-mp pawno\gamemodes\StreetlifeHistoryGangLifeV1.2.4.pw n(96) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.