22.03.2013, 12:34
Remove the line that asks if they're on admin duty...
Edit:
Too fast for me
pawn Код:
CMD:getcar(playerid, params[])
{
// The one that was here
if (PlayerInfo[playerid][pAdmin] >= 3)
{
new carid;
if(sscanf(params, "d", carid)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /getcar [carid]");
new Float:plocx,Float:plocy,Float:plocz;
GetPlayerPos(playerid, plocx, plocy, plocz);
SetVehiclePos(carid,plocx,plocy+4, plocz);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid));
LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
}
return 1;
}
Too fast for me

