[AJUDA]ERRO
#1

alguem pode me ajudar nesse erro oh

C:\Documents and Settings\usuario\Desktop\Pastas\Phillipe\Near\Serv idor\gamemodes\Near.pwn(542) : error 017: undefined symbol "cmd"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

o comando й esse
if(strcmp(cmd, "/repararcarro", true) == 0)// No cmd da erro como pode ver em cima /\
{ |
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0x000000FF, " Veiculo Reparado");
}
}
return 1;
}
Reply
#2

pawn Код:
if(!strcmp(cmdtext, "/reparar", true))
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFAA, "Vocк nгo estб em um veiculo");
   
    SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo Reparado !!");
    RepairVehicle(GetPlayerVehicleID(playerid));
    return 0x1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)