12.06.2010, 14:37
So I'm running a small TDM server and I'm wanting to restrict a class to admin only, then one for donators/vips. Can someone tell me how I would go about doing this? Thanks.
public OnPlayerRequestClass(playerid,classid)
{
if(classid == 3 && !IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,COLOR_GREEN,"This skin is only for admins!");
}
return 1;
}