• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Not sure if my /kick works?
#3
You dont need curly-brackets around this part:





Code:
{

? ? ? ? format(fstr, sizeof(fstr), "Admin %s (%d) has kicked %s [%d] from TWDZS - Reason: %s", ReturnName(playerid), playerid, ReturnName(playerb), playerb, reason);

? ? ? ? SendClientMessageToAll(COLOR_RED, fstr);

? ? ? ? PlayerInfo[playerb][pKicks] ;

? ? ? ? GameTextForPlayer(playerb, "~r~Kicked", 5000, 5);

? ? ? ? format(fstr, sizeof(fstr), "You have been kicked from TWDZS. You were kicked by admin %s.", ReturnName(playerid));

? ? ? ? SendClientMessage(playerb, COLOR_RED, fstr);

? ? ? ? SendClientMessage(playerb, COLOR_ORANGE, "If you think this kick is unfair complain at www.domain.net");

? ? ? ? KickEx(playerb);

}
Check out Desolation Roleplay, where zombie AI and scavenging is bothered by player bandits!


  Reply


Messages In This Thread
Not sure if my /kick works? - by CrypticSin - 2021-03-29, 09:32 PM
RE: Not sure if my /kick works? - by destiezk - 2021-04-02, 10:07 AM
RE: Not sure if my /kick works? - by Awide - 2021-04-02, 10:27 AM
RE: Not sure if my /kick works? - by ImOver - 2021-04-03, 07:48 PM
RE: Not sure if my /kick works? - by CrypticSin - 2021-04-03, 10:08 PM

Forum Jump: