- 0
Problema SSCNAF
-
Similar Content
-
- 2 replies
- 77 views
-
- 7 answers
- 599 views
-
- 2 answers
- 129 views
-
- 2 answers
- 160 views
-
- 3 answers
- 149 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
ovidiubonteanu
Salut sunt nou in domeniul scripting-ului si ma intrebam daca ma poate ajuta cineva cu o problema.
Am incercat sa fac comanda /kick adica am incercat i-am dat copy paste:-?.Si nu inteleg de ce imi apare "Unidentified simbol SSCNAF"...Am citit in alte tutoriale si am pus in folderul plugins si in pawno==includes fisierele respective din acea arhiva downloadata.Adica ce am subliniat in imagini.
COMMAND:kick(playerid, params[])
{
new giveplayerid, reason[24], string[125], name[24], name2[24];
if(IsPlayerAdmin(playerid))
{
if(sscnaf(params, "is[24]", giveplayerid, reason)) return SendClientMessage(playerid, -1,"[ERROR]Usage: /kick [playerid] [reason]");
else if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1,"[ERROR] Player Is Not Connected");
else
{
GetPlayerName(giveplayerid, name, sizeof(name));
GetPlayerName(playerid, name2, sizeof(name2));
format(string, sizeof(string), "<< ADM KICK >> Admin %s kicked %s(%d) | Reason: %s", name2, name, giveplayerid, reason);
SendClientMessageToAll(-1, string);
Kick(giveplayerid);
}
}
else return SendClientMessage(playerid, -1, "SERVER: Unknown Command");
return 1;
}
Multumesc anticipat!
http://postimg.org/image/r80zjrswp/
http://postimg.org/image/fk6xp83rt/
http://postimg.org/image/casiirfo9/
http://postimg.org/image/4yn2d7xg9/
Link to comment
Share on other sites
5 answers to this question
Recommended Posts