21.10.2009, 17:39
hello everybody iґll hope that somone can help me
so i have a derby but i have a cargodmode in my server too
bud when user join the derby there cars dont explode because the the godmode works
i have try this to desenable this are my codes
the godmode:
the derby command :
i have put this in my all other commands
so when i compile i get this warn
line 849 is :
whats wrong ?
so i have a derby but i have a cargodmode in my server too
bud when user join the derby there cars dont explode because the the godmode works
i have try this to desenable this are my codes
the godmode:
Код:
public ScanVehicleHealth(){ new Float:HP, v; for(new playerid=0;playerid<MAX_PLAYERS;playerid++) { if(derbygodupfuck[playerid] == false && IsPlayerInAnyVehicle(playerid)) { v=GetPlayerVehicleID(playerid); GetVehicleHealth(v,Float:HP); if(Float:HP < 250) { SetVehicleHealth(v,900); } } } }
Код:
if(strcmp(cmdtext, "/derby", true) == 0) { derbygodupfuck[playerid]= true; new name[MAX_PLAYER_NAME]; new string[100]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), ">>> %s ist im Derby /derby <<<", name); SendClientMessageToAll(0x2EB8FFFF, string); SetPlayerInterior(playerid,15); ResetPlayerWeapons(playerid); SetPlayerHealth(playerid, 100); SetPlayerPos(playerid,-1443.5715,933.3106,1036.4977); return 1; }
Код:
derbygodupfuck[playerid]= false;
Код:
C:\Dokumente und Einstellungen\ante\Desktop\ls\stuntlantis.pwn(849) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
Код:
if(derbygodupfuck[playerid] == false && IsPlayerInAnyVehicle(playerid))