11.03.2017, 07:26
Quote:
Try using ZeeX's compiler patches compiler, this seems to be a length error (especially with the newer 3dTexts definitions added, the line is way too long for the original compiler to parse). Alternatively you can try this include (if you don't use CreateDynamic3DTextLabelEx); adding the vehicletype = STREAMER_VEHICLE_TYPE_DYNAMIC seemed to cause it to become too long.
Download: (.inc) Download: (.so) Fixed some compile errors on the GitHub repo |
Don't spawn vehicles. What is the reason ?
Код:
public OnGameModeInit() { new aSlot, ba[70]; for(new i = 1; i < 5000; i++) { aSlot = CreateDynamicVehicle(560, 2074.4829, 1066.2476, 10.3773, 0.0, -1, -1, 99999); format(ba, sizeof(ba), "Car ID: %d - For ID: %d", aSlot, i); printf("%s", ba); } return 1; }
Код:
CMD:car(playerid, params[]) { new Float:Pos[4], tmp; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]); tmp = CreateDynamicVehicle(560, Pos[0], Pos[1], Pos[2], Pos[3], -1, -1, 99999); PutPlayerInDynamicVehicle(playerid, tmp, 0); return 1; }