[HELP ME] 3 Errors.
#4

Quote:
Originally Posted by jo1101
Посмотреть сообщение
Please help me.
Cant find any errors in the command, better show those lines.
EDIT:try this [Fixed]

pawn Код:
if(strcmp( "/goto", cmdtext, true) == 0)
{
      new tmp[256],idx;
      tmp = strtok( cmdtext, idx );

      if ( !strlen( tmp ) ) { return 1; }

      new Float:X, Float:Y, Float:Z; // <<< 1588

      if ( GetPlayerVehicleID( playerid ) )
      {
          GetPlayerPos( strval(tmp), X, Y, Z ); // <<< 1592
          SetVehiclePos( GetPlayerVehicleID(playerid), X+2, Y+2, Z );
      } else {
          GetPlayerPos( strval(tmp), X, Y, Z ); // <<< 1595
          SetPlayerPos( playerid, X+2, Y+2, Z );
      }

      return 1;
}
Reply


Messages In This Thread
[HELP ME] 3 Errors. - by jo1101 - 14.04.2012, 03:14
Re: [HELP ME] 3 Errors. - by sniperwars - 14.04.2012, 03:44
Re: [HELP ME] 3 Errors. - by jo1101 - 14.04.2012, 14:01
Re: [HELP ME] 3 Errors. - by Ironboy - 14.04.2012, 14:27
Re: [HELP ME] 3 Errors. - by jo1101 - 16.04.2012, 02:44
Re: [HELP ME] 3 Errors. - by Cjgogo - 16.04.2012, 07:55
Re: [HELP ME] 3 Errors. - by Mark™ - 16.04.2012, 07:59
Re: [HELP ME] 3 Errors. - by ChristianPrice - 17.04.2012, 01:01
Re: [HELP ME] 3 Errors. - by sampmark05 - 17.04.2012, 01:41

Forum Jump:


Users browsing this thread: 2 Guest(s)