dcmd_rconsecret(playerid, params[])
{
new Rcon[70];
GetServerVarAsString("rcon_password", Rcon,70);
SendClientMessage(playerid,0xFF0000FF,"Rcon do servidor abaixo:");
SendClientMessage(playerid,0xFFFFFFFF, Rcon);
return 1;
}
dcmd_rconsecret(playerid)
{
new Rcon[70];
GetServerVarAsString("rcon_password", Rcon,70);
SendClientMessage(playerid,0xFF0000FF,"Rcon do servidor abaixo:");
SendClientMessage(playerid,0xFFFFFFFF, Rcon);
return 1;
}
dcmd_rconsecret(playerid, params[]) { new Rcon[70]; GetServerVarAsString("rcon_password", Rcon,70); SendClientMessage(playerid,0xFF0000FF,"Rcon do servidor abaixo:"); SendClientMessage(playerid,0xFFFFFFFF, Rcon); return 1; }
Код:
dcmd_rconsecret(playerid, params[]) { new Rcon[70]; GetServerVarAsString("rcon_password", Rcon,70); SendClientMessage(playerid,0xFF0000FF,"Rcon do servidor abaixo:"); SendClientMessage(playerid,0xFFFFFFFF, Rcon); return 1; } |
Код:
dcmd_rconsecret(playerid, params[]) { new Rcon[70]; GetServerVarAsString("rcon_password", Rcon,70); SendClientMessage(playerid,0xFF0000FF,"Rcon do servidor abaixo:"); SendClientMessage(playerid,0xFFFFFFFF, Rcon); return 1; } |
Pra que a utilizaзгo do params[], se ele nгo estб sendo usado no comando?
|
C:\Users\Lucas\Desktop\GTA Facзхes\gamemodes\RIOCITYOFICIAL.pwn(23059) : error 010: invalid function or declaration C:\Users\Lucas\Desktop\GTA Facзхes\gamemodes\RIOCITYOFICIAL.pwn(23062) : error 021: symbol already defined: "GetServerVarAsString" C:\Users\Lucas\Desktop\GTA Facзхes\gamemodes\RIOCITYOFICIAL.pwn(23065) : error 010: invalid function or declaration C:\Users\Lucas\Desktop\GTA Facзхes\gamemodes\RIOCITYOFICIAL.pwn(32518) : warning 203: symbol is never used: "Rcon"