[Help] Visual bug
#1

Hi !
I have a problem with a building.
I wiped it with RemoveBuildingForPlayer and when I put in certain positions appear / disappear.
Line of pawno:
OnPlayerConnect public (playerid)
{
RemoveBuildingForPlayer (playerid, 3268, 276.65625, 1955.7656, 16.63281, 0.25);
}

Can I get through it just appears visually.
IMG: http://i.imgur.com/CO07olr.jpg

Sorry for my bad english but i'm romanian.
Reply
#2

There are LODs as well you need to remove. Try:

RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1955.7656, 16.6328, 0.25);
RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1955.7656, 16.6328, 0.25);
Reply
#3

Don't work...
IMG: http://i.imgur.com/pzPJrrC.png
Reply
#4

Quote:
Originally Posted by JNTSimplu
Посмотреть сообщение
Are you removing all of the hangers or just one?
Reply
#5

Only that.
Reply
#6

pawn Код:
RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1955.7656, 16.6328, 0.25);
RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1955.7656, 16.6328, 0.25);
Code from editor, also the code given by the poster above. Show us your OnPlayerConnect callback and the code you have under it...
Reply
#7

Quote:

Code from editor, also the code given by the poster above. Show us your OnPlayerConnect callback and the code you have under it...

public OnPlayerConnect(playerid)
{
//------------------------------RemoveObject-uri--------------------------------------
RemoveBuildingForPlayer(playerid, 3266, 276.65625, 1955.7656, 16.63281, 0.25);// HQ NG
RemoveBuildingForPlayer(playerid, 3268, 276.65625, 1955.7656, 16.63281, 0.25);
RemoveBuildingForPlayer(playerid, 3266, 276.65625, 1989.5469, 16.63281, 0.25);
RemoveBuildingForPlayer(playerid, 3268, 276.65625, 1989.5469, 16.63281, 0.25);
RemoveBuildingForPlayer(playerid, 3266, 276.65625, 2023.7578, 16.63281, 0.25);
RemoveBuildingForPlayer(playerid, 3268, 276.65625, 2023.7578, 16.63281, 0.25);// HQ NG
return 1;
}
Reply
#8

Well, it works for me :l
Reply
#9

u need put the codes onplayerspawn .. no ?
did you compied with right pawno ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)