send client message to all
#1

So im kinda newbie at scripting , i made a simple tp cmd which works good but only thing that i want is that when player chooses a city it would send a message to all where he teleported how do i do it?

he is my OnDialogResponse
Код:
    if(dialogid == 741)
   {
      if(response)
      {
       if(listitem == 0)
         {
            SetPlayerPos(playerid,-1984.4254,137.7499,27.6875);
            GameTextForPlayer(playerid, "~y~San Fierro (SF)", 4000, 5);
            
         }
         else if(listitem == 1)
         {
            SetPlayerPos(playerid,1479.2385,-1672.3132,14.0469);
            GameTextForPlayer(playerid, "~y~Los Santos (LS)", 4000, 5);
            
         }
         else if(listitem == 2)
         {
            SetPlayerPos(playerid,2026.7106,1342.5176,10.8203);
            GameTextForPlayer(playerid, "~y~Las Venturas (LV)", 4000, 5);
         }
   }
}
Reply


Messages In This Thread
send client message to all - by Lukasz56 - 05.01.2017, 17:36
Re: send client message to all - by Bolex_ - 05.01.2017, 17:41
Re: send client message to all - by Lukasz56 - 05.01.2017, 17:42
Re: send client message to all - by saffierr - 05.01.2017, 17:42
Re: send client message to all - by Bolex_ - 05.01.2017, 17:43
Respuesta: send client message to all - by Whillyrez - 05.01.2017, 17:49
Re: send client message to all - by Logic_ - 05.01.2017, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)