22.08.2012, 07:13
Hmm
I don't keep warnings....
And What's the Action should I write to kick a player..
Like
If that's right, it's not kicking
pawn Код:
dcmd_rules(playerid)
{
new BigString[1900];
strcat(BigString, "\n{FFFFFF}1. {F81414}*******.", 1900 ); //Line 679
strcat(BigString, "\n{FFFFFF}2. {F81414}***********.", 1900 );
strcat(BigString, "\n{FFFFFF}3. {F81414}Do not Spam.", 1900 );
strcat(BigString, "\n{FFFFFF}4. {F81414}Do not use cheats or hacks.", 1900 );
strcat(BigString, "\n{FFFFFF}5. {F81414}*******.", 1900 );
strcat(BigString, "\n{FFFFFF}6. {F81414}************.", 1900 );
strcat(BigString, "\n{FFFFFF}7. {F81414}Never quit to avoid anything.", 1900 );
strcat(BigString, "\n{FFFFFF}8. {F81414}************", 1900 );
strcat(BigString, "\n{FFFFFF}9. {F81414}Never abuse a bug.", 1900 );
strcat(BigString, "\n{FFFFFF}10. {F81414}No mods are allowed.", 1900 );
ShowPlayerDialog(playerid,DIALOG_RULES, DIALOG_STYLE_MSGBOX, "{ff0000}Rules", BigString, "Accept","Ignore");
return 1;
}
Код:
D:\SAMP\Server\gamemodes\****.pwn(679) : warning 202: number of arguments does not match definition D:\SAMP\Server\gamemodes\****pwn(679) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
And What's the Action should I write to kick a player..
Like
pawn Код:
else
{
SendClientMessage(playerid,0xFF0000FF,"You have been kicked because you don't accept our rules !");
Kick(playerid);
}