11.11.2013, 21:01
Hi guys,
I trying to do something and now i don't know where i mistake.
i want to send the coordonates to public continue
i don't have sintactic errors, the new checkpoint have default coordonates 0,0,0
I trying to do something and now i don't know where i mistake.
Код:
forward Continue(playerid,Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:z2,cpbusnou); public Continue(playerid,Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:z2,cpbusnou) { GivePlayerMoney(playerid, random(1000) + 1000); DisablePlayerRaceCheckpoint(playerid); buscp[playerid] = cpbusnou; SCM(playerid, CRISTIAN, "** Mergi la urmatoarea locatie."); SetPlayerRaceCheckpoint(playerid, 0, Float:x,Float:y,Float:z, Float:x2,Float:y2,Float:z2, 4.0); return 1; }
Код:
if(buscp[playerid]==1) { SCM(playerid, CRISTIAN, "** Trebuie sa astepti in statie ca sa primesti bani."); new Float:x = 1855.505; new Float:y = -1385.385; new Float:z = 13.495; new Float:x2 = 1767.444; new Float:y2 = -1163.706; new Float:z2 = 23.749; new cpbusnou = 3; SetTimerEx("Continue",4000,false,"i",playerid,Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:z2,cpbusnou); }
i don't have sintactic errors, the new checkpoint have default coordonates 0,0,0