02.11.2009, 16:27
i want to ask something , i try this for my ping check / kicker
i know this is not 100% right so i want to ask for help if you can fix that 
i want when player have for example 32 ping or more he get KICK and there will be client message for all like in my ''example''
i hope anyone can help with this
and i want to ask this , how i can make gamemode name ? so when players wanna joint to my server there should write in ''samp'' program (server name - thats ok,GAMEMODE NAME - how to make this ? , AND MAP NAME - HOW TO MAKE THIS ?
for example:
Server Name Gamemode Map
Weed's CNR Cops And Robbers Las Venturas
i hope you know what i mean
ty for any help
Код:
stock CheckPing(playerid) { //Get the player's ping and kick if it's excessive if(GetPlayerPing(playerid) > 32) { new playerid[MAX_PLAYER_NAME]; SendClientMessageToAll(0xFF66FFAA,"**(AUTO KICK)Player %s %d Kicked REASON:(To Much Ping)",playerid); Kick(playerid); } }

i want when player have for example 32 ping or more he get KICK and there will be client message for all like in my ''example''
i hope anyone can help with this

and i want to ask this , how i can make gamemode name ? so when players wanna joint to my server there should write in ''samp'' program (server name - thats ok,GAMEMODE NAME - how to make this ? , AND MAP NAME - HOW TO MAKE THIS ?
for example:
Server Name Gamemode Map
Weed's CNR Cops And Robbers Las Venturas
i hope you know what i mean
