31.01.2013, 20:43
pawn Код:
CMD:ee(playerid, params[])
{
new Float:EX,Float:EY,Float:EZ;
if(!IsPlayerInAnyVehicle(playerid))
if(gClass[playerid] != CLASS_PILOT) return SP COLOR_RED, "[ERROR]: You need to be a Pilot (Rank "#PILOT_RANK"); to use this command");
{
GetPlayerPos(playerid, EX,EY,EZ);
SetPlayerPos(playerid, EX,EY,EZ+5);
GivePlayerWeapon(playerid, 46, 1);
}
else
{
SP COLOR_RED, "[ERROR]: You are not in any vehicle");
}
return 1;
}