Problems with the icons
#1

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 :
Код:
new pdmenu;
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 ");

}
Reply
#2

100% something outside the {}
Reply
#3

no I there's no SetPlayerPos and SetPlayerInterior and shit ;(
Reply
#4

anyone ? help me please im really depressed
Reply
#5

I have this problem TO!
Reply
#6

;( Really nobody knows how to fix it ?
Reply
#7

You have to post all the code of the pickup or we can't help you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)