11.07.2016, 22:22
PHP код:
function ZombieInfect(playerid)
{
gteam[playerid] = TEAM_ZOMBIE;
TogglePlayerControllable(playerid,0);
ClearAnimations(playerid);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,4,1);
SetPlayerSkin(playerid,162);
SetPlayerTeam(playerid,TEAM_ZOMBIE);
SetPlayerColor(playerid,COLOR_ZOMBIE);
TogglePlayerControllable(playerid,1);
SetPlayerPos(playerid,x222,y222,z222+0.5);
SetPlayerFacingAngle(playerid,angle222);
foreach(Player,i)
{
PlayerPlaySound(i,1132,0.0,0.0,0.0);
PlayerPlaySound(i,1184,0.0,0.0,0.0);
}
return 1;
}
PHP код:
zma.pwn(2357) : error 010: invalid function or declaration
zma.pwn(2371) : error 010: invalid function or declaration
zma.pwn(2377) : error 010: invalid function or declaration