24.01.2017, 16:13
Quote:
Just a simple exemple
PHP код:
|
Код:
C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(1009) : error 001: expected token: ")", but found "[" C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(1009) : warning 215: expression has no effect C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(1009) : error 001: expected token: ";", but found "]" C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(1009) : error 029: invalid expression, assumed zero C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(1009) : fatal error 10
I mean.. I can use CreateVehicle(x, x,)... load the details from the files, but how do I create more vehicles? Like how to give a random id to every vehicle, example below
vehicle[0] = createvehicle
vehicle[1] = createvehicle
vehicle[2] = createvehicle
vehicle[3] = createvehicle
I want to have like 50+ cars around the map, buyable by players, I want to save them in a file, I can make the file manually and set the owner to noone and the position, but I do not know how to load that file and spawn the vehicles?