Adding Pickups help.
#1

I receive these errors:
Код:
C:\Users\***\Desktop\samp03asvr_R3_win32\gamemodes\***.pwn(11953) : error 033: array must be indexed (variable "PlayerInfo")
C:\Users\***\Desktop\samp03asvr_R3_win32\gamemodes\***.pwn(11955) : error 035: argument type mismatch (argument 3)
When i add this, just under
Код:
LinkInteriorToVehicle(bla bla bla).
code:
Код:
	if(PlayerInfo[pOwnsHouse] == 1)
	{
	  AddStaticPickup(1273, 2, PlayerInfo[pHouseX], PlayerInfo[pHouseY], PlayerInfo[pHouseZ]);
	  pickups++;
	}
I want it so it adds a pickup to anywhere where a house is owned. (It's dynamic, but im not sure how to make a Pickup STAY there,

is it possible i could add a pickup when i buy the house, and it stays until i sell it??

Thanks!
Reply


Messages In This Thread
Adding Pickups help. - by mannen55 - 16.01.2010, 12:07
Re: Adding Pickups help. - by [HiC]TheKiller - 16.01.2010, 12:17
Re: Adding Pickups help. - by mannen55 - 16.01.2010, 12:25

Forum Jump:


Users browsing this thread: 1 Guest(s)