send client message to all
#6

PHP код:
if(dialogid == 741)
   {
      if(
response)
      {
       new 
name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
       
GetPlayerName(playeridnamesizeof(name));
       if(
listitem == 0)
         {
            
SetPlayerPos(playerid,-1984.4254,137.7499,27.6875);
            
GameTextForPlayer(playerid"~y~San Fierro (SF)"40005);
            
format(stringsizeof(string), "%s have gone to San Fierro"name);
            
SendClientMessageToAll(-1string);
            
         }
         else if(
listitem == 1)
         {
            
SetPlayerPos(playerid,1479.2385,-1672.3132,14.0469);
            
GameTextForPlayer(playerid"~y~Los Santos (LS)"40005);
            
format(stringsizeof(string), "%s have gone to Los Santos"name);
            
SendClientMessageToAll(-1string);
            
         }
         else if(
listitem == 2)
         {
            
SetPlayerPos(playerid,2026.7106,1342.5176,10.8203);
            
GameTextForPlayer(playerid"~y~Las Venturas (LV)"40005);
            
format(stringsizeof(string), "%s have gone to Las Venturas"name);
            
SendClientMessageToAll(-1string);
         }
   }

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)