26.12.2016, 06:02
Код:
new mode = playerMode[playerid]; switch(mode) { case GAMEMODE_DM: { new newVehicle = CreateVehicle(411, modeState[playersMode][spawnX], modeState[playersMode][spawnY], modeState[playersMode][spawnZ], modeState[mode][spawnRotation], -1, -1, -1); SetVehicleVirtualWorld(newVehicle, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid, newVehicle, 0); } //... }