29.08.2011, 18:33
As I said, you have to delete unnecessary variables.
(like the global ones, on top of script: ban_target, ban_time, ban_reason, not others btw);
The stock should look like: stock SampBan(playerid, ban_target, ban_time, ban_reason[]) which i forgot to mention before.
And change things accordingly, I can't predict everything perfectly.
and targetid should be something like otherplayerid, or the variable of playerid who is getting banned.
(like the global ones, on top of script: ban_target, ban_time, ban_reason, not others btw);
The stock should look like: stock SampBan(playerid, ban_target, ban_time, ban_reason[]) which i forgot to mention before.
And change things accordingly, I can't predict everything perfectly.
and targetid should be something like otherplayerid, or the variable of playerid who is getting banned.