SA-MP Forums Archive
[Help] Command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Command (/showthread.php?tid=203514)



[Help] Command - 586118 - 27.12.2010

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.?


Re: [Help] Command - iJumbo - 27.12.2010

Xd what u mean ?