Other command !
#1

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 !
Reply
#2

UP !
Reply
#3

Up...!
Reply
#4

Then change the command?
Reply
#5

I wnat to do the same function in other command.
Reply
#6

Quote:
Originally Posted by joachimnor
Посмотреть сообщение
Then change the command?
Gave the solution already. Show us that command atleast.
Reply
#7

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;
    }
Reply
#8

You wanna copy that cmd or wanna change what you gotta type ingame to view cctv
Reply
#9

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
Reply
#10

..........

I know hot to change the command bro .. I want to double it,to make another menu like this ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)