Help ?? I think it's an error
#3

pawn Код:
// Also, about /exit command, you have to be in a range of 15 meters to send you the message, set your position and the interior.
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
    if( strcmp( "/exit", cmdtext, true, 5 ) == 0 ) {
        if( PlayerToPoint( 15.0, playerid, 2454.717041, -1700.871582, 1013.515197 ) ) {
            SendClientMessage( playerid, COLOR_FADE, "Vanzator: Scire /exit pentru a iesi!" );
            SetPlayerPos( playerid, 2459.4539, -1690.9188, 13.5453 );
            SetPlayerInterior( playerid, 0 );
            return 1;
        }
    }
    if( strcmp( "/etnobotanice", cmdtext, true, 13 ) == 0 ) {
        SetPlayerCheckpoint( playerid, 2459.4539, -1690.9188, 13.5453, 3.0 );
        SendClientMessage( playerid, COLOR_BLUELIGHTER, "Magazinul de Etnobotanice a fost plasat cu punctul rosu pe harta dumneavoastra." );
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Help ?? I think it's an error - by wNNk - 21.01.2012, 10:30
Respuesta: Help ?? I think it's an error - by [Nikk] - 21.01.2012, 10:44
Re: Help ?? I think it's an error - by Konstantinos - 21.01.2012, 10:48
Re: Help ?? I think it's an error - by Bogdan1992 - 21.01.2012, 10:50
Re: Help ?? I think it's an error - by [ABK]Antonio - 21.01.2012, 10:51
Re: Help ?? I think it's an error - by ProdrifterX - 21.01.2012, 12:04

Forum Jump:


Users browsing this thread: 2 Guest(s)