14.09.2012, 22:04
tipo se eu deixa assim vai funcionar so pros admin e org?, e me ajuda a colocar pra se nгo for autorizado a usar aparecer:
pawn Код:
if(!strcmp("/reparar",cmdtext,true))
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
if(logged[playerid] == 1)
{
if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pORG] >= 1 )
{
SendClientMessage(playerid,COLOR_GOLD, "[INFO] Vocк reparou seu veнculo.");
RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}