How can i?
#1

hi, i was thiking i just made a new stunt place in my server and when they teleport i want it to teleport to 3 random place but its confusing i dont quite catch how? well i can give you the positions but i only want it to random when they are in the car so in resum when they teleport to this place i only want the teleport random 3 places if they are in the car

Код:
AddPlayerClass(122,2000.0122,-2656.5027,13.5469,352.2979,0,0,0,0,0,0); // stunt3
AddPlayerClass(122,1973.4526,-2656.2195,13.5469,1.4669,0,0,0,0,0,0); // stunt3
AddPlayerClass(122,1979.8668,-2655.1372,13.5469,1.4669,0,0,0,0,0,0); // stunt3
AddPlayerClass(122,1985.8344,-2655.0415,13.5469,1.1890,0,0,0,0,0,0); // stunt3
Код:
if(!strcmp(cmdtext, "/stunt3", true))
{
	    if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid), 562.7345,2442.1843,192.0527);
        else SetPlayerPos(playerid, 562.7345,2442.1843,192.0527);
    	SendClientMessage(playerid,COLOR_GREEN, "Welcome to stunt3");
    	return 1;

}
well can anyone help meh?
_______________________
1-3$ fix warnings 1-5$fix errors
6-15$ make gamemodes(not roleplay) 3-10$ make filterscripts-scriptfiles
Dont ASK! me RolePlay questions
www.mefreeroam.tk
Reply


Messages In This Thread
How can i? - by FireCat - 30.08.2010, 09:57
Re: How can i? - by Arrows73 - 30.08.2010, 09:59
Re: How can i? - by [XST]O_x - 30.08.2010, 10:04
Re: How can i? - by FireCat - 30.08.2010, 10:17

Forum Jump:


Users browsing this thread: 3 Guest(s)