again - 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: again (
/showthread.php?tid=641574)
again -
n00blek - 17.09.2017
i posted so many times(not same ofc) you already know why im here
https://pastebin.com/P2UXsXCw
https://pastebin.com/6bmUGfvT
Re: again -
Eoussama - 17.09.2017
Your code was painful to look at, learn to write readable code.
Re: again -
n00blek - 17.09.2017
Quote:
Originally Posted by Eoussama
Your code was painful to look at, learn to write readable code.
|
whats wrong with it?
Re: again -
Deadpoop - 17.09.2017
and why did you send the whole script
Re: again -
n00blek - 17.09.2017
Quote:
Originally Posted by Deadpoop
and why did you send the whole script
|
because whole script is messed up



. or in case someone need includes
Re: again -
Sew_Sumi - 17.09.2017
You need to start reading the errors... They're so simple...
You then need to start learning to script and stop pasting up your entire code EXPECTING someone to fix it FOR YOU...
Код:
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-PRAGMA+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#pragma tabsize 0
And if you put this in your code, then you need to remove it, and fix the warning/errors it gives rather than hiding it.
Код:
stock SendClientMessage(playerid,message[])
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(PlayerInfo[playerid][pOrgID] == 1)
{
if(PlayerInfo[i][pOrgID] == 1)
{
SCM(i,-1,message[]);
}
}
}
return 1;
}
What the fuck is this... This is just retarded as fuck... SendClientMessage is already in a_samp, so you're making a second one, that refers back to SCM, which points back to SendClientMessage...
Where are you learning these terrible practices...