05.04.2012, 01:03
Ohh,try like this.
Up..
Change
With
And on PlayerPickUpPickup
Delete these.
Not sure with string on OnPlayerPickUp..
Up..
pawn Код:
new HousePickup;
pawn Код:
CreatePickup(1273, 1, x, y, z, GetPlayerVirtualWorld(playerid));
pawn Код:
HousePickup = CreatePickup(1273, 1, x, y, z, GetPlayerVirtualWorld(playerid));
pawn Код:
if (pickupid == HousePickup )
{
new labelstring[64];
format(labelstring,sizeof(labelstring),"Owned: No \nPrice: %i",HousePrice);
GameTextForPlayer(playerid, labelstring, 5000, 3);
}
Код:
format(labelstring,sizeof(labelstring),""Owned: No \nPrice: %i",HousePrice"); HInfo[id][HouseLabel] = Create3DTextLabel(labelstring,0xFF0000FF,x,y,z,25.0,GetPlayerVirtualWorld(playerid));