Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (
/showthread.php?tid=564935)
Help -
ZachKnoxx - 23.02.2015
I've been trying at this thing for a while now. I can't seem to figure it out, can anyone help me?
Код HTML:
C:\Users\Zach\Desktop\Servers\SAMP\Silver Roleplay Scratch\gamemodes\SRP.pwn(79) : error 010: invalid function or declaration
C:\Users\Zach\Desktop\Servers\SAMP\Silver Roleplay Scratch\gamemodes\SRP.pwn(81) : error 010: invalid function or declaration
C:\Users\Zach\Desktop\Servers\SAMP\Silver Roleplay Scratch\gamemodes\SRP.pwn(84) : error 010: invalid function or declaration
C:\Users\Zach\Desktop\Servers\SAMP\Silver Roleplay Scratch\gamemodes\SRP.pwn(87) : error 010: invalid function or declaration
C:\Users\Zach\Desktop\Servers\SAMP\Silver Roleplay Scratch\gamemodes\SRP.pwn(93) : error 010: invalid function or declaration
Код HTML:
LoadLeaders(); //This MUST BE executed AFTER the organizations are being created!
new pcount = 0;
for (new playerid = 0;playerid<MAX_PLAYERS;playerid++) //ERROR HERE
{
if (IsPlayerConnected(playerid)) //ERROR HERE
{
LoadPlayerOrgInfo(playerid);
pcount++; //ERROR HERE
}
}
if (pcount > 0) //ERROR HERE
{
printf("Dynamic Families loaded.");
printf("Data loaded for %d players.", pcount);
}
return 1; //ERROR HERE
}
Re: Help -
lulo356 - 23.02.2015
pawn Код:
LoadLeaders(); //This MUST BE executed AFTER the families are being created!
new pcount = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
LoadPlayerOrgInfo(i);
pcount++;
}
}
if (pcount > 0)
{
printf("Family System loaded.");
printf("Data loaded for %d connected members.", pcount);
}
return 1;
}
And show us the error lines please.
Re: Help -
ZachKnoxx - 23.02.2015
I marked them with //ERROR HERE
Код HTML:
LoadLeaders(); //This MUST BE executed AFTER the organizations are being created!
new pcount = 0;
for (new playerid = 0;playerid<MAX_PLAYERS;playerid++) //ERROR HERE
{
if (IsPlayerConnected(playerid)) //ERROR HERE
{
LoadPlayerOrgInfo(playerid);
pcount++; //ERROR HERE
}
}
if (pcount > 0) //ERROR HERE
{
printf("Dynamic Families loaded.");
printf("Data loaded for %d players.", pcount);
}
return 1; //ERROR HERE
}
Re: Help -
lulo356 - 24.02.2015
PHP код:
LoadLeaders(); //This MUST BE executed AFTER the families are being created!
new pcount = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
LoadPlayerOrgInfo(i);
pcount++;
}
}
if (pcount > 0)
{
printf("Family System loaded.");
printf("Data loaded for %d connected members.", pcount);
}
}
return 1;
}