Select random
#2

pawn Код:
new randomloc = random(sizeof(g_LocationData));
new Msg[48];
format(Msg, sizeof(Msg), "Teleported to: %s", g_LocationData[randomloc][e_LocName]);
SetPlayerPos(playerid, g_LocationData[randomloc][e_LocX], g_LocationData[randomloc][e_LocY], g_LocationData[randomloc][e_LocZ]);
SendClientMessage(playerid, -1, Msg);
https://sampwiki.blast.hk/wiki/Random
Reply


Messages In This Thread
Select random - by KinderClans - 18.08.2018, 21:45
Re: Select random - by EzeHermes - 19.08.2018, 02:29
Re: Select random - by KinderClans - 19.08.2018, 08:39
Re: Select random - by EzeHermes - 20.08.2018, 04:27
Re: Select random - by KinderClans - 20.08.2018, 09:05
Re: Select random - by Calisthenics - 20.08.2018, 09:33
Re: Select random - by KinderClans - 20.08.2018, 09:41
Re: Select random - by Sew_Sumi - 20.08.2018, 10:08
Re: Select random - by KinderClans - 20.08.2018, 10:13
Re: Select random - by Calisthenics - 20.08.2018, 10:14
Re: Select random - by KinderClans - 20.08.2018, 10:15
Re: Select random - by Calisthenics - 20.08.2018, 10:16
Re: Select random - by Sew_Sumi - 20.08.2018, 10:48
Re: Select random - by KinderClans - 20.08.2018, 10:57
Re: Select random - by Zeth - 20.08.2018, 11:17
Re: Select random - by KinderClans - 20.08.2018, 12:49

Forum Jump:


Users browsing this thread: 3 Guest(s)