Help needed + reward.
#3

Actually it is very easy.

PHP код:
stock const Float:spawns[][3] = {
    {
0.00.00.0},
    {
3102.03102.03102.0}
    
//Just fill here all x,y,z coords
};
//Then under OnPlayerSpawn
new idx pInfo[playerid][Spawn];
/*
    You create the Spawn index in your PlayerInfo Array.
    Then you can set it from 0 to x (x=the amount of indexes in the spawn array)
*/
SetPlayerPos(playerid,spawns[idx][0],spawns[idx][1],spawns[idx][2]);
/*
    Here you set the player to the x,y,z coords you put in the array.
*/ 
Greekz
Reply


Messages In This Thread
Help needed + reward. - by Tixxt - 22.10.2015, 11:52
Re: Help needed + reward. - by fuckingcruse - 22.10.2015, 12:04
AW: Help needed + reward. - by Kaliber - 22.10.2015, 12:08

Forum Jump:


Users browsing this thread: 3 Guest(s)