Why wont this work - 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: Why wont this work (
/showthread.php?tid=204105)
Why wont this work -
yarrum3 - 28.12.2010
Help plese
Код:
CMD:radio(playerid, params[]){
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, CARRADIO, DIALOG_STYLE_LIST, "Car Radio","Radio On\nRadio Off\nSet Station\nRadio Volume", "Select", "Cancel");
}
{
else
}
SendClientMessage(playerid, WHITE, "[SERVER]: {E5FA05}You are not in a car.");
}
return 1;
}
It did not copy over to the forum very well but im sure you can read it.
Re: Why wont this work -
Jochemd - 28.12.2010
pawn Код:
CMD:radio(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid, CARRADIO, DIALOG_STYLE_LIST, "Car Radio","Radio On\nRadio Off\nSet Station\nRadio Volume", "Select", "Cancel");
else SendClientMessage(playerid, WHITE, "[SERVER]: {E5FA05}You are not in a car.");
return 1;
}
This should work
Re: Why wont this work -
yarrum3 - 28.12.2010
ok thanks