Posts: 416
Threads: 84
Joined: Oct 2012
Reputation:
0
I downloaded a gamemode it was in SF , then i started to change the checkpoints but for example changing the Ammunation Robbing CheckPoint
I got it defined and i got the FloatCheckCoords and FlootCheckpoints
but when i use /robshop nothing happened , Dunno why ?
can any one help ?
Posts: 416
Threads: 84
Joined: Oct 2012
Reputation:
0
No one know what is the Problem O.o ?
Posts: 97
Threads: 15
Joined: Jul 2012
Reputation:
0
Well personally at this point what I'd try doing is printing a buncb of variables and figure out where it's ending and if it's even respond to your if statement (debugging). print("1"); and then just order the different numbers so you can trace where in the scriot that is breaking. That if statement to me with the checkcoords looks wrong, never really seen an array be done like that.
Posts: 97
Threads: 15
Joined: Jul 2012
Reputation:
0
if(isPlayerInArea(i,*checkCoords[j]))
Add print("1");
And after it add print("2");
Then compile the script and do the command. If it gets to the number 2 then you know its something with the setplayercheckpoint and if it doesnt then you know its something with isPlayerInArea. If it doesn't go to either then you know its something with the cmd itself. All I really know off the code you gave me.
Posts: 416
Threads: 84
Joined: Oct 2012
Reputation:
0
;isten man this gamemode is really based in SF and i downloaded it from here it works fine and i hosted it but when i put the checkpoints in LS they don't work