Guest9328472398472
Unregistered
Posts: 150
Threads: 19
Joined: Sep 2008
Reputation:
0
Great tutorial, everything is well explained.
Posts: 202
Threads: 18
Joined: Sep 2011
Reputation:
0
Thanks a lot! But how could I let not some skins get random spawned?
Posts: 54
Threads: 6
Joined: Jan 2012
Reputation:
0
How to make random spawn for team,i mean, i have two teams and i need two other random spawn system
Posts: 23
Threads: 1
Joined: Jan 2014
thank you FUNExtreme! this was useful.
Posts: 183
Threads: 33
Joined: Aug 2015
Reputation:
0
F:\PVP Server\gamemodes\pvp.pwn(403) : error 032: array index out of bounds (variable "RandomSpawns")
Can any one help me with this error, when I tried to create this command below, thats the error I recieved
CMD:joingame(playerid, params[])
{
new Random = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
return 1;
}
Posts: 183
Threads: 33
Joined: Aug 2015
Reputation:
0
F:\PVP Server\gamemodes\pvp.pwn(403) : error 032: array index out of bounds (variable "RandomSpawns")
Can any one help me with this error, when I tried to create this command below, thats the error I recieved
CMD:joingame(playerid, params[])
{
new Random = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
return 1;
}
Posts: 37
Threads: 7
Joined: Oct 2013
Reputation:
0
That means randomspawns is already defined.
Posts: 48
Threads: 10
Joined: May 2013
Reputation:
0
What about If I SetPlayerCheckpoint(playerid, RandomSpawn[random][0], RandomSpawn[random][1], RandomSpawn[random][2], 5);
And I wanna get if Player IsPlayerInRangeOfPoint of the random point in SetPlayerCheckpoint what will I do ?
Sorry for my bad English