16.07.2015, 20:52
So I am trying to make a script where i spawn a pickup and a text label but its not working..
Whats wrong?
pawn Код:
CMD:spawnreqhouse(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:x,Float:y,Float:z;
CreatePickup(1239, 23, x,y,z);
CreateDynamic3DTextLabel("To request a house at \nthis location, use /requesthouse",COLOR_RED, Float:x,Float:y,Float:z+0.5,4.0);
return 1;
}
return 1;
}