Command of adminjail
#1

Код:
error 035: argument type mismatch (argument 2)

if (pInfo[playerid][pAdminLevel] < 1)
	    return SendClientMessage(playerid, "You are not Admin.");

Код:
error 035: argument type mismatch (argument 2)

SendClientMessageToAll(COLOR_GREEN, "** %s is now Admin Duty (/report for assistance).", GetPlayerName(playerid, 0));

Код:
warning 202: number of arguments does not match definition

new targetid, time, reason[64], randomnr;
randomnr = random(2, 100);
Код:
error 001: expected token: ";", but found "if"


if(pInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You are not authorizedr!");
Код:
error 001: expected token: ")", but found "return"


if(sscanf(params, "u", targetid) return SendClientMessage(playerid, -1, "USAGE: /unajail <playerid>");
Im beginner in script. I follow a tutorial.
Reply


Messages In This Thread
Command of adminjail - by Zeus666 - 30.06.2016, 20:42
Re: Command of adminjail - by Stinged - 30.06.2016, 20:47
Re: Command of adminjail - by Zeus666 - 30.06.2016, 20:53
Re: Command of adminjail - by Shinja - 30.06.2016, 21:00
Re: Command of adminjail - by Stinged - 30.06.2016, 21:05
Re: Command of adminjail - by Zeus666 - 30.06.2016, 21:07
Re: Command of adminjail - by Stinged - 30.06.2016, 21:19
Re: Command of adminjail - by Zeus666 - 30.06.2016, 21:25
Re: Command of adminjail - by Stinged - 30.06.2016, 21:26
Re: Command of adminjail - by Zeus666 - 30.06.2016, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)