23.12.2012, 07:13
When i try to compile it, it says "Pawn compiler library stopped working"
I'd like to find out what's the error right there please.
Help needed, reply please.
I'd like to find out what's the error right there please.
Код:
public SetPlayerRandomSpawn { if (iSpawnSet[playerid] == 1) { new rand = random(sizeof(gMinPlayerSpawns)); SetPlayerPos(playerid, gMinPlayerSpawns[rand][0], gMinPlayerSpawns[rand][1], gMinPlayerSpawns[rand][2]); SetPlayerFacingAngle(playerid, 270.0); } else if (iSpawnSet[playerid] == 0) { new rand = random(sizeof(gRandomPlayerSpawns)); SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player } return 1; }
Код:
//Minigun Random Spawns new Float:gRandomPlayerSpawns[3][3] = { {2205.6477,1607.9291,999.9702}, {2205.6162,1580.5106,999.9789}, {2171.5139,1618.7930,999.9766}; new Float:gMinPlayerSpawns[3][3] = { {2205.6477,1607.9291,999.9702}, {2205.6162,1580.5106,999.9789}, {2171.5139,1618.7930,999.9766};