03.09.2011, 16:04
First of all, it's 'Bump', not Dump -.-.
And don't bump after for like 2 hours.
Try looking at your script, specifically, at the pInfo enum.
It clearly hold a value named 'pLeader'.
So, just put this at the beginning of the code:
And don't bump after for like 2 hours.
Try looking at your script, specifically, at the pInfo enum.
It clearly hold a value named 'pLeader'.
So, just put this at the beginning of the code:
pawn Код:
if(PlayerInfo[playerid][pLeader] == 1)
{
// Your code
}
else
{
SendClientMessage(playerid, 0x00FF0000, "you're not a faction leader!");
return 1;
}
return 1;

