/enter & /exit
#7

Well, I did use the search function, but there were 11 pages and I went through only 2 pages
Anyways, it's not working for me
Can anyone check if it's working for them, I did it exactly like in the tutorial, but not working. Here's my code.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/enter", cmdtext, true, 6) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 7, -2034.5068,148.5365,28.8359))
     {
    SetPlayerPos(playerid, -27.312300, -29.277599, 1003.549988);
    SetPlayerInterior(playerid, 4);
    return 1;
     }
    }
   
    if(strcmp("/exit", cmdtext, true, 6) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 7, -27.312300, -29.277599, 1003.549988))
     {
     SetPlayerPos(playerid, -2034.5068,148.5365,28.8359);
     return 1;
     }
    }
    return 1;
}
If anyone can check if it's working for them.
The /enter command is at the CJ's garage in San Fierro, the one near the train station and Wang car shop.
Or just make a tp command if you want.
SetPlayerPos(playerid, -2034.5068,148.5365,28.8359);

/enter command works great, but the /exit doesn't.
Reply


Messages In This Thread
/enter & /exit - by dLu - 25.10.2010, 13:56
Re: /enter & /exit - by BMUK - 25.10.2010, 14:30
Re: /enter & /exit - by dLu - 25.10.2010, 19:31
Re: /enter & /exit - by BMUK - 25.10.2010, 19:50
Re: /enter & /exit - by Scripter123 - 25.10.2010, 19:55
Re: /enter & /exit - by BMUK - 25.10.2010, 19:58
Re: /enter & /exit - by dLu - 26.10.2010, 10:55
Re: /enter & /exit - by SkizzoTrick - 26.10.2010, 11:44
Re: /enter & /exit - by Jochemd - 26.10.2010, 12:07
Re: /enter & /exit - by Cameltoe - 26.10.2010, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)