new Float:SpawnPoints[4][3] = { {1469.3442,-1089.4425,213.3828}, {1434.5544,-1089.2045,213.3828}, {1433.1183,-1046.4718,213.3828}, {1469.1140,-1044.9768,213.3828} }; new rand = random(sizeof(SpawnPoints)); if (strcmp(cmdtext, "/Roofpush", true)==0) { SetPlayerPos(playerid, SpawnPoints[rnd][0], SpawnPoints[rnd][1], SpawnPoints[rnd][2], SpawnPoints[rnd][3]); SetPlayerFacingAngle(playerid, SpawnPoints[rnd][3]); SetPlayerWorldBounds(playerid,9999,-9999,9999,-9999); SendClientMessage(playerid,COLOR_YELLOW,"Use what you got to push them of the roof or kill them!"); SetPlayerInterior(playerid,0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,3,0); return 1; }