25.11.2013, 22:17
Se poderem ajudar com esses erros =S
e se possivel ja falar como coloca isso em Pawn Code aqui no forum e.e''
public OnPlayerCommandText(playerid, cmdtext[])
{
CMD:dartobi(playerid, params[])
{
new targetid;
if(sscanf(params, "u" , targetid)) return SendClientMessage(targetid, -1, "Use: /dartobi [id]");
if(Profissao[targetid] == 0)
{
SendClientMessage(targetid, VERMELHO, "O Adm Rcon {1B95E0}%s{00C2EC} setou Tobi para Vocк"
SetPlayerSkin(targetid, 117);
}
return 1;
}
return 0;
}
error: 029: invalid expression, assumed zero
error: 017: undefined symbol "sscanf"
error: 001: expected token: ",", but found "-identifier-"
error: 010: invalid function or declaration
warning: 203: symbol is never used: "DOF2_Exit"
e se possivel ja falar como coloca isso em Pawn Code aqui no forum e.e''
public OnPlayerCommandText(playerid, cmdtext[])
{
CMD:dartobi(playerid, params[])
{
new targetid;
if(sscanf(params, "u" , targetid)) return SendClientMessage(targetid, -1, "Use: /dartobi [id]");
if(Profissao[targetid] == 0)
{
SendClientMessage(targetid, VERMELHO, "O Adm Rcon {1B95E0}%s{00C2EC} setou Tobi para Vocк"
SetPlayerSkin(targetid, 117);
}
return 1;
}
return 0;
}
error: 029: invalid expression, assumed zero
error: 017: undefined symbol "sscanf"
error: 001: expected token: ",", but found "-identifier-"
error: 010: invalid function or declaration
warning: 203: symbol is never used: "DOF2_Exit"