help with OnPlayerDeath Aninmation
#1

Im trying to make it so when people die, they respawn at the same location with 100hp but stuck in the animation "FALL_collapse. This is what of tried.

public OnPlayerDeath(playerid)
{
ApplyAnimation(playerid,"FALL_collapse", 4.1, 0, 1, 1, freeze, 0, 1);
Hspawn[playerid] = 1;

return 0;
}

But when i complie i get this error:
C:\samp\sampserver\samp03csvr_win32\gamemodes\myte stserver.pwn(156) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
help with OnPlayerDeath Aninmation - by abrantley - 18.03.2011, 07:28
Re: help with OnPlayerDeath Aninmation - by HyperZ - 18.03.2011, 09:56
Re: help with OnPlayerDeath Aninmation - by abrantley - 18.03.2011, 10:11
Re: help with OnPlayerDeath Aninmation - by abrantley - 18.03.2011, 11:18
Re: help with OnPlayerDeath Aninmation - by abrantley - 19.03.2011, 07:55
Re: help with OnPlayerDeath Aninmation - by iJumbo - 19.03.2011, 08:31

Forum Jump:


Users browsing this thread: 2 Guest(s)