GTA crashes caused by pickups.
#1

Okay, i have really big problem. I have my basic housing system, and when i log off, create the pickup, log in near this pickup my game crashes. Here's the code:

pawn Код:
AddStaticPickup(1239, 1, 372.8267,-118.8040,1001.4922, -1);
AddStaticPickup(1239, 1, -2236.8655,130.1791,1035.4141, -1);
AddStaticPickup(1239, 1, -27.3204,-89.9393,1003.5469, -1);
AddStaticPickup(1239, 1, 2271.1284,68.1912,26.4734, -1);
AddStaticPickup(1239, 1, 2241.8601,53.4129,26.4734, -1);
It not happens on other servers, only at this one if i create pickups and spawn near it.
Reply
#2

bump
Reply
#3

Post the server log.
Reply
#4

I suggest using streamer plugin v2.6.1 and using this native instead of AddStaticPickup, so you will use CreateDynamicPickup with these parameters
pawn Код:
CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)