- 0
(18861) : error 035: argument type mismatch (argument 3)
-
Similar Content
-
- 1 reply
- 767 views
-
- 3 replies
- 569 views
-
fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?
By Divil.Scorpiono,
- 5 replies
- 447 views
-
- 1 reply
- 920 views
-
- 3 answers
- 1,188 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Wreeper
YCMD:unjail(playerid, params[], help) {
if(!playerVariables[playerid][pAdmin]) return adminOnly(playerid);
new id,reason[128];
if(sscanf(params, "uis[128]", id,reason)) return sendUsage(playerid, "/unjail [name/playerid] [reason]");
if(!isPlayerLogged(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player not connected.");
if(playerVariables[id][pJailTime] == 0) return SCM(playerid, COLOR_WHITE, "This player is not in jail.");
ResetWeapons(id);
WantedPoints[id] = 0;
playerVariables[id][pJailed] = 0;
playerVariables[id][pJailTime] = 0;
SpawnPlayer(id);
SendAdminMessage(COLOR_RED2, "Jail: %s was unjailed by %s, reason: %s.", GetName(id), GetName(playerid),reason);
SCMF(id, COLOR_RED2, "Administrator %s has released you from jail.", GetName(playerid));
UpdateVar( id, "Jailed", playerVariables[ id ][ pJailed ] );
UpdateVar( id, "JailTime", playerVariables[ id ][ pJailTime ] );
return 1;
}
De ce se intampla asa ceva?
Eroare: (18861) : error 035: argument type mismatch (argument 3)
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.