[Ajuda] Esses 2 Warnings
#2

Troque seu comando reparar por esse:

pawn Код:
if ( !strcmp ( cmdtext, "/reparar", true ) ) {

    if ( !IsPlayerInAnyVehicle ( playerid ) )
        return SendClientMessage ( playerid, -1, "[ ERRO ]: Vocк nгo estб em um carro" ) ;

    RepairVehicle ( GetPlayerVehicleID ( playerid ) ) ;
    SendClientMessage ( playerid, -1, "[ AVISO ]: Veнculo reparado" ) ;
    return true ;
}
pra resolver o outro warning vai na callback OnPlayerCommandText e lб no final coloque

return true ;
Reply


Messages In This Thread
Esses 2 Warnings - by JowSmith - 30.09.2013, 22:21
Re: Esses 2 Warnings - by smiiir - 30.09.2013, 22:25
Re: Esses 2 Warnings - by Coe1 - 30.09.2013, 22:26
Re: Esses 2 Warnings - by Zivo - 30.09.2013, 22:47
Re: Esses 2 Warnings - by zSuYaNw - 30.09.2013, 22:49
Re: Esses 2 Warnings - by Luucass - 30.09.2013, 22:50
Re: Esses 2 Warnings - by JowSmith - 30.09.2013, 22:52

Forum Jump:


Users browsing this thread: 1 Guest(s)