hello guys,
i'm new in this forum and i play vc:mp from a time ago,
i opend a server and i wanna add cars in it
i scripted with gups v16a , and i have pawno
thnx for helpers :D
When you open mode.pwn and scroll down you should eventually find loads of AddStaticVehicle functions. Just place your defined vehicle near those and everything should work fine.
Try,
public OnGameModeInit() //Example
{
AddStaticVehicle(150, -1343.22204589, 1494.09130859, 298.59179687, 12, 13);
return 1;
}
public OnGameModeInit()
{
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
return 1;
}
Vehicle id's: http://famp.ru/wiki/VehicleIDs
Car colors: http://famp.ru/wiki/CarColors
good lucky :)
thnx for the help,
but where can i find the mode.pwn ??
i'm new soo thnx for help :D
i found mode.pwn file on gamemodes at the server files,
but when i open i cant find addstaticvehicle,
help?
Use your editor's search function :)
what do u mean ???
sorry i didn't understand anything :D:D