Posts: 1,076
Threads: 70
Joined: Jul 2016
Reputation:
0
Your code was painful to look at, learn to write readable code.
Posts: 131
Threads: 4
Joined: Jul 2016
Reputation:
0
and why did you send the whole script
Posts: 6,242
Threads: 8
Joined: Jun 2008
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...