23.04.2012, 21:25
Try this.
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerAdmin(playerid)
{
SetPlayerPos();
// Other stuff here
}
else SendClientMessage(playerid,-1, "You have to be an administrator to use this class!");
return 1;
}