delete pickup and text label
#4

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
new Text3D:houselabel[MAX_PLAYERS];

PHP код:
CMD:spawnreqhouse(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= 1)
     {
        new 
Float:x,Float:y,Float:z;
       
GetPlayerPos(playerid,x,y,z);
       
CreatePickup(123923x,y,z);
       
label[playerid] = CreateDynamic3DTextLabel("To request a house at \nthis location, use /requesthouse",COLOR_RED,x,y,z+0.5,4.0);
       return 
1;
    }
    return 
1;

PHP код:
CMD:deletehouse(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= 1)
     {
        new 
Float:x,Float:y,Float:z;
       
GetPlayerPos(playerid,x,y,z);
       
CreatePickup(123923x,y,z);
       
DestroyDynamic3DTextLabel(houselabel[playerid]);
       return 
1;
    }
    return 
1;

Thanks! but this doesnt destroy the pickup?
Reply


Messages In This Thread
delete pickup and text label - by DavidSparks - 17.07.2015, 19:34
Re: delete pickup and text label - by DavidSparks - 18.07.2015, 09:47
Re : delete pickup and text label - by KillerDVX - 18.07.2015, 10:09
Re: Re : delete pickup and text label - by DavidSparks - 18.07.2015, 10:25
Re : delete pickup and text label - by KillerDVX - 18.07.2015, 10:54
Re: Re : delete pickup and text label - by DavidSparks - 18.07.2015, 11:57
Re: delete pickup and text label - by SilentSoul - 18.07.2015, 12:15
Re: delete pickup and text label - by DavidSparks - 18.07.2015, 23:00

Forum Jump:


Users browsing this thread: 1 Guest(s)