20.02.2011, 15:18
RequestClass fiz uma gambiarra do carai.
Tirei o add class do ongamemodeinit e coloquei no request...
Compilou certinho, tem algo de errado aк?
Tirei o add class do ongamemodeinit e coloquei no request...
pawn Код:
if(IsPlayerAdmin(playerid))
{
//ADMINS
AddPlayerClass(294, 413.6844,2536.1543,19.1484,180.4662,0,0,0,0,0,0); //admins
AddPlayerClass(295, 413.6844,2536.1543,19.1484,180.4662,0,0,0,0,0,0); //admins
AddPlayerClass(296, 413.6844,2536.1543,19.1484,180.4662,0,0,0,0,0,0); //admins
AddPlayerClass(217, 413.6844,2536.1543,19.1484,180.4662,0,0,0,0,0,0); //admins
AddPlayerClass(211, 413.6844,2536.1543,19.1484,180.4662,0,0,0,0,0,0); //admins
}
else if(classid >= 20 && classid <= 25)
{
Gang[playerid] = ADMINS;
GameTextForPlayer(playerid,"~y~Administradores",6000,6);
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"Vocк nгo й Administrador!");
}