City hall - entrance icon - 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: City hall - entrance icon (
/showthread.php?tid=351890)
City hall - entrance icon -
Cowling - 17.06.2012
Hello guys!
Today I tried to add the new city hall as is released on this forum, but when I did that the entrance icon was in the air and I didnt got it down to the ground there I want it to be. So.. my questions is how can I get it there? I have tried to edit the codes, but I do not get it down. I'll show the code with an image down here and I hope everyone understand what I mean. If you know how to fix it, please show me what code I need to edit!
Image:
Here is the code I have on the City hall entrance:
Code:
CreateDynamicPickup(1314, 1, 1481.3898,-1773.0805,18.7958,0); //City Hall
Create3DTextLabel("[City Hall] \n Press \"ENTER VEHICLE\" to enter the Place.",0xFFFF00AA, 1481.3898,-1773.0805,18.7958, 20,0,1);
Re: City hall - entrance icon -
Kindred - 17.06.2012
Are you sure the z axis isn't above the ground? I'm guessing it's in the air because the z value is too high, lower it down.
Re: City hall - entrance icon -
ViniBorn - 17.06.2012
Try
pawn Code:
CreateDynamicPickup(1314, 1, 1481.3898,-1773.0805,12.7958,0); //City Hall
Create3DTextLabel("[City Hall] \n Press \"ENTER VEHICLE\" to enter the Place.",0xFFFF00AA, 1481.3898,-1773.0805,12.7958, 20,0,1);
Re: City hall - entrance icon -
Cowling - 17.06.2012
Holy crap, fast answering! Thanks for that, I'll try it now!
Re: City hall - entrance icon -
Cowling - 17.06.2012
Damn.. the icon is on the correct place, but I can't enter it now.. Changed from .18 to .14
Re: City hall - entrance icon -
Elysian` - 17.06.2012
pawn Code:
CMD:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playeird, OUTSIDECITYHALLCOORDSHERE))
{
SetPlayerPos(playerid, Insidecityhallcoordshere);
}
return 1;
}
Re: City hall - entrance icon -
Cowling - 17.06.2012
I said it was fixed..