12.10.2014, 08:46
(
Последний раз редактировалось Mr.Anonymous; 12.10.2014 в 08:49.
Причина: Typo
)
Okay so no matter which game mode I use, my custom one or Grandlarc, spawning any vehicles with a command and trying to drive it makes my game stuck. I thought there was a problem in my custom game mode which gave me this problem but then I tried it with grandlarc and it's still there. All I did was added the /veh command and when the vehicle spawned, I sat in it and tried to drive with the arrow keys. The car drove like 1 inch and then the game got stuck. I tried this with different game modes and filterscripts but no solution found.
The only thing works is the vehicles already spawned (set in game mode). I can drive them but not the vehicles spawned by command. Here's my command:
Any solution is greatly appreciated.
The only thing works is the vehicles already spawned (set in game mode). I can drive them but not the vehicles spawned by command. Here's my command:
Код:
// VEHICLE COMMAND CMD:veh(playerid, params[]) { new veh, color1, color2; if (!sscanf(params, "iii", veh, color1,color2)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x,y,z); AddStaticVehicle(veh, x,y,z,0,color1, color2); } else SendClientMessage(playerid, 0xfff, "[Usage]: /veh [carid] [Color 1] [Color 2]"); return 1; }