Other 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)
+--- Thread: Other command ! (
/showthread.php?tid=301697)
Other command ! -
dorperez - 05.12.2011
Hey Folks,
I have been found this great fs (
https://sampforum.blast.hk/showthread.php?tid=68492 ) and I wanted to to other command with other camaras.
For Instans:
In the fs there is the command /cctv and then I type it it openning a menu with locations and when I select the location Its show me the place.I want to do the same thing but with other command !
Re: Other command ! -
dorperez - 06.12.2011
UP !
Re: Other command ! -
dorperez - 08.12.2011
Up...!
Re: Other command ! -
Scones - 08.12.2011
Then change the command?
Re: Other command ! -
dorperez - 08.12.2011
I wnat to do the same function in other command.
Re: Other command ! - T0pAz - 08.12.2011
Quote:
Originally Posted by joachimnor
Then change the command?
|
Gave the solution already. Show us that command atleast.
Re: Other command ! -
dorperez - 09.12.2011
Here it is:
pawn Код:
if(strcmp("/cctv", cmdtext, true) == 0)
{
if(Spawned[playerid] == 1)
{
PlayerMenu[playerid] = 0;
TogglePlayerControllable(playerid, 0);
ShowMenuForPlayer(CCTVMenu[0], playerid);
}
else
{
SendClientMessage(playerid, 0xFF0000AA, "Please spawn first!");
}
return 1;
}
Re: Other command ! -
§с†¶e®РµРe - 09.12.2011
You wanna copy that cmd or wanna change what you gotta type ingame to view cctv
Re: Other command ! - T0pAz - 09.12.2011
Quote:
Originally Posted by dorperez
Here it is:
pawn Код:
if(strcmp("/cctv", cmdtext, true) == 0) { if(Spawned[playerid] == 1) { PlayerMenu[playerid] = 0; TogglePlayerControllable(playerid, 0); ShowMenuForPlayer(CCTVMenu[0], playerid); } else { SendClientMessage(playerid, 0xFF0000AA, "Please spawn first!"); } return 1; }
|
Change the
/cctv to whatever you like for your command
Re: Other command ! -
dorperez - 09.12.2011
..........
I know hot to change the command bro .. I want to double it,to make another menu like this ..