SA-MP Forums Archive
Pickups problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickups problem (/showthread.php?tid=260315)



Pickups problem - tbedy - 08.06.2011

i using vortex script..

i have create pickups for buissness, houses and HQ's ... but when i turn on server all pickups gone, on my server isn any pickup...

pickups creeated i know in script:

Код:
	        if(strcmp(Houses[i][hOwner], "Nobody", true) == 0)
			{
			    Houses[i][LockStatus] = 0;
            	Houses[i][HPickupID] = CreateDynamicPickup(1273, 23, Houses[i][hExteriorX], Houses[i][hExteriorY], Houses[i][hExteriorZ], 0, -1, -1, 150.0);
            }
            else
            {
                Houses[i][HPickupID] = CreateDynamicPickup(1272, 23, Houses[i][hExteriorX], Houses[i][hExteriorY], Houses[i][hExteriorZ], 0, -1, -1, 150.0);
            }
Код:
         	Businesses[i][bPickupID] = CreateDynamicPickup(1239, 23, Businesses[i][bExteriorX], Businesses[i][bExteriorY], Businesses[i][bExteriorZ], 0, -1, -1, 150.0);
Код:
	    BankPickupID = CreateDynamicPickup(1239, 23, BankExtX, BankExtY, BankExtZ, 0, -1, -1, 150.0);
	    ArrestPosPickup = CreateDynamicPickup(1239, 23, ArrestPosX, ArrestPosY, ArrestPosZ, 0, -1, -1, 150.0);
Код:
				Houses[Player[playerid][House]][HPickupID] = CreateDynamicPickup(1273, 23, Houses[Player[playerid][House]][hExteriorX], Houses[Player[playerid][House]][hExteriorY], Houses[Player[playerid][House]][hExteriorZ], 0, -1, -1, 150.0);
all this are pickups, but on serverd dont have anyone

----------------
how to resolve this... i want to hae pickups...


Re: Pickups problem - PGTips - 08.06.2011

there is nothing wrong with the code you have given us?


Re: Pickups problem - tbedy - 08.06.2011

no errors, no warnings in my script....

for the first time isnt dont want to show me cars, now pickups, but now cars showing


Re: Pickups problem - tbedy - 08.06.2011

bumppppppp..... any help?

this is really big problem