Problems with the icons - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problems with the icons (
/showthread.php?tid=74315)
Problems with the icons -
*BueNoOo* - 21.04.2009
Hi there , I have a problem up here because when I create an object in my filterscripts and I add for example at the top new pdicon; then pdicon = CreatePickup etc etc then on player pickuppickup i've added what I should add but here's the problem , everything works fine but when I go to that icon in game it sets my interior to something like under the map and I spawn at the village near LS, do you know how to fix it ? There's no SetPlayerInterior and shit. It just sets my interior and teleports me to that village straight away ;//
Here's some of my codes :
at the top :
Under OnFilterScriptInit
Код:
pdmenu = CreatePickup(1239, 1, 502.0265,-68.0579,998.7578);
and OnPlayerPickupPickup
Код:
if(pickupid == pdmenu)
{
GameTextForPlayer(playerid, "~g~Police Department, Welcome !", 5000, 5);
SendClientMessage(playerid, COLOR_YELLOW, " Welcome to the LSPD ");
}
Re: Problems with the icons -
luxeon - 21.04.2009
100% something outside the {}
Re: Problems with the icons -
*BueNoOo* - 21.04.2009
no I there's no SetPlayerPos and SetPlayerInterior and shit ;(
Re: Problems with the icons -
*BueNoOo* - 21.04.2009
anyone ? help me please

im really depressed
Re: Problems with the icons -
kasco - 21.04.2009
I have this problem TO!
Re: Problems with the icons -
*BueNoOo* - 21.04.2009
;( Really nobody knows how to fix it ?
Re: Problems with the icons -
Pyrokid - 21.04.2009
You have to post all the code of the pickup or we can't help you.