Why noone working ?!
#1

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!
Reply
#2

Don't make a different topic for the same fucking thing. And its because you are bad at scripting, use something easier like strcmp.
Reply
#3

Код:
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;
}
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)