/exit not working.
#2

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/exit"cmdtexttrue10) == 0)
    {
      if(
IsPlayerInRangeOfPoint(playerid1.0384.808624,173.804992,1008.382812));
      
SetPlayerPos(playerid2302.9736,-53.8796,26.4844);
      
SetPlayerInterior(playerid0);
      return 
1;
    }
    if (
strcmp("/enter"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInRangeOfPoint(playerid1.02302.9736,-53.8796,26.4844))
        
SetPlayerPos(playerid384.808624,173.804992,1008.382812);
        
SetPlayerInterior(playerid3);
        return 
1;
    } 
"if" was mising
Reply


Messages In This Thread
/exit not working. - by TheTerminator - 13.11.2011, 13:06
Re: /exit not working. - by wumpyc - 13.11.2011, 13:07
Re: /exit not working. - by TheTerminator - 13.11.2011, 13:09
Re: /exit not working. - by wumpyc - 13.11.2011, 13:12
Re: /exit not working. - by KosmasRego - 13.11.2011, 13:12
Re: /exit not working. - by TheTerminator - 13.11.2011, 13:13
Re: /exit not working. - by Kwarde - 13.11.2011, 13:14
Re: /exit not working. - by wumpyc - 13.11.2011, 13:14
Re: /exit not working. - by TheTerminator - 13.11.2011, 13:15
Re: /exit not working. - by antonio112 - 13.11.2011, 13:18

Forum Jump:


Users browsing this thread: 1 Guest(s)