Any ideas why system doesn't work?
#5

No, it does the contrary, it only infects the skin 249. Either remove it or change it for this:

PHP код:
    switch(GetPlayerSkin(victimid))
    {
        case 
NON_IMMUNE,249: return 1;
        default:
    {
    new 
Float:x,Float:y,Float:z;
    
GetPlayerPos(playerid,Float:x,Float:y,Float:z);
    
SetPlayerHealth(playerid,0.0);
//... rest of code 
Reply


Messages In This Thread
Any ideas why system doesn't work? - by henkas - 16.03.2017, 18:54
Re: Any ideas why system doesn't work? - by Toroi - 16.03.2017, 19:08
Re: Any ideas why system doesn't work? - by henkas - 16.03.2017, 19:11
Re: Any ideas why system doesn't work? - by henkas - 16.03.2017, 19:25
Re: Any ideas why system doesn't work? - by Toroi - 16.03.2017, 19:40
Re: Any ideas why system doesn't work? - by Pokemon64 - 16.03.2017, 19:48
Re: Any ideas why system doesn't work? - by Toroi - 16.03.2017, 19:54
Re: Any ideas why system doesn't work? - by Pokemon64 - 16.03.2017, 20:05
Re: Any ideas why system doesn't work? - by henkas - 16.03.2017, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)