[Help] Command
#1

Quote:

if(strcmp(cmd, "/neonshop", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pLCAdmin] >= 1340)
{
SetPlayerInterior(playerid,0);
{
if(State!=PLAYER_STATE_DRIVER)
{
SetPlayerPos(playerid,-1980.0026,474.2643,29);
}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{
SetVehiclePos(cartype,-1980.0026,474.2643,29);
SetVehicleZAngle(cartype,180.1530);
}
else
{
SetPlayerPos(playerid,-1980.0026,474.2643,29);
}
SendClientMessage(playerid, COLOR_YELLOW,"Type /neon in the garage to pick a neon ");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
return 1;
}
}
}
}
return 1;
}

Yes, I write or not.?
Reply
#2

Xd what u mean ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)