Show Text Question
#6

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


Messages In This Thread
Show Text Question - by Scripter12345 - 05.04.2012, 00:45
Re: Show Text Question - by Chris1337 - 05.04.2012, 00:50
Re: Show Text Question - by TzAkS. - 05.04.2012, 00:51
Re: Show Text Question - by Scripter12345 - 05.04.2012, 00:54
Re: Show Text Question - by $$inSane - 05.04.2012, 00:58
Re: Show Text Question - by TzAkS. - 05.04.2012, 01:03
Re: Show Text Question - by Scripter12345 - 05.04.2012, 01:28
Re: Show Text Question - by Ezay - 05.04.2012, 04:40

Forum Jump:


Users browsing this thread: 4 Guest(s)