31.05.2015, 14:24
try to change this
with this
Quote:
x = ASpawnLocationsPolice[Index][SpawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsPolice[Index][SpawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsPolice[Index][SpawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsPolice[Index][SpawnAngle]; // Get the rotation-angle for the spawnlocation |
Quote:
SetPlayerPos(playerid, ASpawnLocationsPolice[Index][0], ASpawnLocationsPolice[Index][1], ASpawnLocationsPolice[Index][2]); SetPlayerFacingAngle(playerid, ASpawnLocationsPolice[Index][3]); |