[HELP] This Command will not Debug in Pawno!
#1

Код:
If (strcmp(cmttext, "/ragequit", true)==0)
{
SendClientMessageToAll(COLOR_WHITE, "----");
*/ Contiunes with that until end*/
Kick(givenplayerid)
}
return 1;
}
I know this isnt correct, but what is worong?
Reply
#2

Also, i want them to be banned for 12 hours.
Reply
#3

you haven't assigned variable "givenplayerid" a value.
Reply
#4

dont know about 12hrs ban etc but you can do

Kick(playerid);
Ban(playerid);
Or On Player Death
Kick(killerid);
Ban(killerid);

theirs the kick/ban functions
Reply
#5

this is why pawno failed. They don't have Suggestions like in VB.net
Reply
#6

givenplayerid = playerid;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)