21.04.2009, 15:41
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
and OnPlayerPickupPickup
Here's some of my codes :
at the top :
Код:
new pdmenu;
Код:
pdmenu = CreatePickup(1239, 1, 502.0265,-68.0579,998.7578);
Код:
if(pickupid == pdmenu) { GameTextForPlayer(playerid, "~g~Police Department, Welcome !", 5000, 5); SendClientMessage(playerid, COLOR_YELLOW, " Welcome to the LSPD "); }