27.07.2013, 11:20
Hi guys, ive made some Script For Anti Spawnkill protection.
Here is the code :
And here is the endspawnkillprotect
Here is the error code when i compiled it:
Here is the code :
Код:
public OnPlayerRequestClass(playerid) { SetPlayerHealth(playerid, 1000000); SetTimerEx("endspawnkillprotect", 5000, false, "i", playerid); SendClientMessage(playerid, COLOR_BRIGHTRED, "Youre Protected by Anti Spawnkill Now"); return 1; }
Код:
public endspawnkillprotect(playerid) { SetPlayerHealth(playerid, 100.0); SetPlayerArmor(playerid, 100.); }
Код:
E:\Rockstar Games\GTA San Andreas\samp03x_svr_R1-2_win32_3\gamemodes\owntdm.pwn(116) : warning 217: loose indentation E:\Rockstar Games\GTA San Andreas\samp03x_svr_R1-2_win32_3\gamemodes\owntdm.pwn(117) : warning 217: loose indentation E:\Rockstar Games\GTA San Andreas\samp03x_svr_R1-2_win32_3\gamemodes\owntdm.pwn(175) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.