05.11.2011, 10:16
Hello i'm Alvin007 the devlopper of Chicago Roleplay , i've completed 80% of it , but there is a problem
OnPlayerCommandText
i'm making a command for cops only , to attach undercover lights to their vehicle. so i'm using
model = GetVehicleModel(vehicleid)
and when i compile it says undefined symbol "vehicleid"
so i changed it with: GetVehicleID(playerid) and it works perfectly.
but i want to know why it doesnt work for GetVehicleModel(vehicleid);
Thank you.
OnPlayerCommandText
i'm making a command for cops only , to attach undercover lights to their vehicle. so i'm using
model = GetVehicleModel(vehicleid)
and when i compile it says undefined symbol "vehicleid"
so i changed it with: GetVehicleID(playerid) and it works perfectly.
but i want to know why it doesnt work for GetVehicleModel(vehicleid);
Thank you.