30.10.2014, 02:18
Hello, I would like a command that can give you respawn all the members of that faction
can be done?
can be done?
if (strcmp("/spawnfaction", cmdtext, true, 13) == 0)
{
if(IsPlayerAdmin(playerid))
{
for(new i; i<MAX_PLAYERS; i++)
{
if(factionname[i] == NumberVariable)
{
SpawnPlayer(i);
SendClientMessage(i,-1,"An Admin Has Respawned Your Faction.");
}
}
}
return 1;
}