[Error] El ultimo por este dнa. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [Error] El ultimo por este dнa. (
/showthread.php?tid=501561)
[Error] El ultimo por este dнa. -
RZoone - 19.03.2014
Hola gente, otra vez yo xD. Tengo un problema, el cual es este (primera vez que tengo algo asн).
Код:
C:\Users\RZoone\Desktop\ZS-RP\gamemodes\ZSRP.pwn(8975) : error 030: compound statement not closed at the end of file (started at line 8964)
pawn Код:
CMD:ri(playerid, params[])
{
new String[128];
new pnamep[MAX_PLAYER_NAME];
GetPlayerName(playerid, pnamep, sizeof(pnamep));
if(RadiON[playerid] == false) return SendClientMessage(playerid, 0xFFFFFFFF, "Enciende tu radio primero!");
if(isnull(params)) return SendClientMessage(playerid, COLOR_BLANCO, "USA: /pr [texto]");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(RadiON[i] == true)
{
if(PI[i][FrecR] == PI[playerid][FrecR])
{
format(String,sizeof(String), "[RADIO] %s: %s",pnamep,params);
SendClientMessage(i, 0xFFFFFFFF, String);
}
}
}
desde la linea 8964 es el error, gracias.
Respuesta: [Error] El ultimo por este dнa. -
hotspicytaco - 19.03.2014
Te hacen falta dos llaves.