10.10.2011, 23:26
I Need Someone thats good with register and Login Got a bug with the register thing it aint the normal register I cant get the newmember From stop spawning in blue berry I have a menu To select where they like to go And Some Reason when i select an area it spawns me in blueberry.... Please Any Help
I tried Putting SpawnPlayer(playerid); But it does help or work... I think has something to do with saveplayerpos I have it on its on function when player logs out it save and when a player logs it i have it call forward PosLastSave
pawn Код:
if(dialogid == 7 && response)
{
SpawnPlayer(playerid);
switch(listitem)
{
case 0:
{
SendClientMessage(playerid, ORANGE, "Okay! Landing at Los Santos Airport");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1683.3362,-2326.4019,13.5469);
SetPlayerFacingAngle(playerid, 357.8167);
}
case 1:
{
SendClientMessage(playerid, ORANGE, "Okay! Landing at Las Ventures Airport");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, 1686.8833,1449.6790,10.7689);
SetPlayerFacingAngle(playerid, 275.1814);
}
case 2:
{
SendClientMessage(playerid, ORANGE, "Okay! Landing at San Fierro Airport");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid, -1423.7505,-289.8953,14.1484);
SetPlayerFacingAngle(playerid, 144.4577);
}
}
SendClientMessage(playerid, BLUE, "Thank you For Flying With San Andreas Airlines Have a Nice Day!");
TogglePlayerControllable(playerid, 1);
PlayerOnline[playerid] = 1;
}