LSPD Teleports, need some help
#1

// Edit
Okay, i made it myself nearly.. I have this problem when I'm entering the police station i get teleported up in the air and then i fall down..

if(!strcmp(cmdtext, "/pdenter", true))
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerState(playerid) == 1)
{
if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1)
{
if(PlayerToPoint(1.0,playerid, 1568.6848,-1690.3054,5.8906))
{
SetPlayerPos(playerid,242.7636,66.3462,1003.6406);
GameTextForPlayer(playerid, "~w~Police Department",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}
}
return 1;
}

What's wrong?
Reply
#2

I think your interior ID is wrong.

ID for SF PD is 10 try SetPlayerInterior(playerid, 10);
Reply
#3

Quote:
Originally Posted by TisjuBoY
I think your interior ID is wrong.

ID for SF PD is 10 try SetPlayerInterior(playerid, 10);
That was right, but i can't go on duty and such i think its another world :/
Thats the only problem left, i cannot exit the building from the normal exit and i can't go on duty and i can't /arrest
Any ideas?
Nvm i have fixed it, it was the virtual world that was bugged.
Thanks, bb
Reply
#4

yw..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)