SA-MP Forums Archive
[Help] Visual bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Visual bug (/showthread.php?tid=585898)



[Help] Visual bug - JNTSimplu - 17.08.2015

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.


Re: [Help] Visual bug - Tamer - 17.08.2015

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);


Re: [Help] Visual bug - JNTSimplu - 17.08.2015

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


Re: [Help] Visual bug - Tamer - 18.08.2015

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


Re: [Help] Visual bug - JNTSimplu - 19.08.2015

Only that.


Re: [Help] Visual bug - Threshold - 19.08.2015

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...


Re: [Help] Visual bug - JNTSimplu - 19.08.2015

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;
}


Re: [Help] Visual bug - Threshold - 19.08.2015

Well, it works for me :l


Re: [Help] Visual bug - Toxik - 19.08.2015

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