Posts: 666
Threads: 94
Joined: Aug 2009
Reputation:
0
Good job. Though.. what if there is 1..2..3..4k Cars being reloaded.. Going to cause lag regardless. But minimize it some by changing "for(new i; i < SCRIPT_CARS; i++)" to "foreach(customthing, i)" Not sure if it applies to this. Might remove some lag. Might not.
Other then that. Great job.
Posts: 1,741
Threads: 44
Joined: Apr 2010
Reputation:
0
Try printf("%s",VehicleInfo[vehicleid][Owner]) to see if the owner actually gets loaded.
Posts: 543
Threads: 100
Joined: Aug 2010
Reputation:
0
When i do: /createveh Torran
I edited it btw to save owner not model,
Anyway when i do that i get sscanf warning and it dosent show the print that i told it to.
And when i get in the vehicle where its supposed to print i also get the sscanf error.
And when i /reloadvehicles it shows the vehicle owner name.
Posts: 577
Threads: 199
Joined: Aug 2010
Reputation:
0
Can someone post an example.pwn cause i cant get it right :/ Im noob to mysql and pwn.