Problem with command's compiling / Timer for /acceptdeath
#2

Код:
CMD:reviveplayer(playerid, params[])
{
	new id;
	if(PlayerInfo[playerid][pMember] < 1 && PlayerInfo[playerid][pMember] <= 7) return SendClientMessage(playerid, -1, "You're not a Medic or a LSPD/SASD Officer.");
   	if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "SERVER: /reviveplayer [playerid/PartofName]");
   	Injured[playerid] = 0;
   	SendClientMessage(id, -1, "You were revived.");
   	SendClientMessage(playerid, -1, "You revived that player.");
   	ApplyAnimation(id,"PED","null",0.0,0,0,0,0,0); // would make them stand up i guess
   	return 1;
}
You had )) on that condition.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)