12.08.2013, 09:37
Hello Everyone,
I'm having a problem with a string that's not working on a weird way, hopefully someone can fix it for me.
(No I haven't forgot to
at the end of the OnPlayerSpawn
I'm having a problem with a string that's not working on a weird way, hopefully someone can fix it for me.
pawn Код:
new Float:RandomSpawns[][] =
{
{1443.7324,-2426.4797,15.7550,182.4360}, // Los Santos Airport
{1474.8452,-2581.5078,13.5469,218.0661}, // Test spawn point
};
pawn Код:
public OnPlayerSpawn(playerid)
{
new rand = random(sizeof(RandomSpawns));
SetPlayerPos(playerid, RandomSpawns[rand][0], RandomSpawns[rand][1],RandomSpawns[rand][2]);
pawn Код:
return 1;
}