No RemoveBuildingForPlayer
#1

Can i have some help, I Just Noticed that Theres not RemoveBuildingForPlayer , How do i add it?
Reply
#2

Here you go:
pawn Код:
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
And put it under OnPlayerConnect
pawn Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 5337, 1995.4375, -2066.1484, 18.5313, 0.25);
    return 1;
}
Reply
#3

When i go to OnPlayerConnect theres more stuff there do i delete that or keep it just add it? And Where do i put the first Code that you put?
Reply
#4

I'm confused with your question. Anyway, you don't have to remove anything under OnPlayerConnect, if there's more than 1 object/building to be remove for a player; just add another line.
Reply
#5

As mentioned above, keep everything in OnPlayerConnect and just append the RemoveBuildingForPlayer below it all.
Reply
#6

My Question was.. Where do i put this..
Код:
 RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
Reply
#7

in OnPlayerConnect...

Код:
public OnPlayerConnect(playerid)
{
 keep all the code you already have in here.
 RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
}
Reply
#8

Quote:
Originally Posted by CountryTrooper441
Посмотреть сообщение
My Question was.. Where do i put this..
Код:
 RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
Just replace the values and put it under OnPlayerConnect - I'm sure I made it clear the first time.
Reply
#9

Oh.... Sorry.. i didnt see what it was.. i thought i was something else..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)