09.12.2015, 09:20
Can anyone help me with this?! i wanna make 3different spawnpoints, this is just the first spawnpoint but it crashes the pawno
Quote:
new Float:EventSpawn[][] = { {GetPVarFloat(playerid,"xpos1"), GetPVarFloat(playerid,"ypos1"), GetPVarFloat(playerid,"zpos1")}, }; |
Quote:
CMDos(playerid, params[]) { if(sscanf(params, "i", amount) return SendClientMessage(playerid, RED, "ERROR: /pos [1-3]"); if(amount == 1) { GetPlayerPos(playerid,x,y,z); SetPVarFloat(playerid,"xpos1",x); SetPVarFloat(playerid,"ypos1",y); SetPVarFloat(playerid,"zpos1",z); SendClientMessage(playerid, GREEN, "Position 1 Has Been Set!"); Info[Pos] = 1; } |