CMD:bilincs(playerid, params[]){new giveplayerid, indok[128];if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /bilincs <playerid> <indok>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! Indok:%s\", name, indok); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); } return 1;}CMD:elenged(playerid, params[]){ new giveplayerid; if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /elenged <playerid>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"%s elengedett egy civilt!\", name); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,1); } return 1;}CMD:lecsuk(playerid, params[]){ new giveplayerid, indok[128];if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /lecsuk <playerid> <indok>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s-t [indok: %s]\", name, playerid, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); SetTimerEx( \"jail\", 60000, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); } return 1;}
new jailtimer[MAX_PLAYERS];
CMD:lecsuk(playerid, params[]){ new giveplayerid, ido, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"uds\", giveplayerid, ido, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /lecsuk [playerid] [ido] [indok]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s -t [Perc: %d] [indok: %s]\", name, name2, ido, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); jailtimer[playerid] = SetTimerEx( \"jail\", ido, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); }}return 1;}
forward jail(playerid);public jail(playerid){KillTimer(jailtimer[playerid]);SpawnPlayer(playerid);return 1;}
{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t!{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s [Perc: %d] [indok: valami]
CMD:bilincs(playerid, params[]){new giveplayerid, indok[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /bilincs [playerid]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{ GetPlayerName(playerid, name, sizeof(name)); GetPlayerName(giveplayerid, name2, sizeof(name2)); format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! Indok: %s\", name,name2, indok); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); jailtimer[playerid] = SetTimerEx( \"jail\", 60000, false, \"i\", giveplayerid); } return 1;}CMD:elenged(playerid, params[]){ new giveplayerid, name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /elenged [playerid]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"\"{00bbff}[RENDÕR,%s]:{008a20} elengedte %s-t!\", name, name2); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,1); } return 1;}CMD:rjail(playerid, params[]){new giveplayerid, indok[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /rjail [playerid]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s-t [Perc: 1] [indok: %s]\", name, name2, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); jailtimer[playerid] = SetTimerEx( \"jail\", 60000, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); } return 1;}
format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t!!\", name, playerid);[/quote]Ez így nem les jó, mert így az idjét fogja kiírni. CMD:bilincs(playerid, params[]){ new giveplayerid, indok[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /bilincs <playerid> <indok>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! Indok: %s\", name, indok); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); } return 1;}CMD:elenged(playerid, params[]){ new giveplayerid, name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /elenged <playerid>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20}elengedte %s-t!\", name, name2); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,1); } return 1;}CMD:lecsuk(playerid, params[]){ new giveplayerid, name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /lecsuk [playerid]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s -t [Perc: 1] [indok: %s]\", name, name2, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); jailtimer[playerid] = SetTimerEx( \"jail\", 60000, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); }}return 1;}
CMD:bilincs(playerid, params[]){ new giveplayerid, indok[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /bilincs <playerid> <indok>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! Indok: %s\", name, indok); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); } return 1;}CMD:elenged(playerid, params[]){ new giveplayerid, name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /elenged <playerid>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20}elengedte %s-t!\", name, name2); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,1); } return 1;}CMD:lecsuk(playerid, params[]){ new giveplayerid, name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /lecsuk [playerid]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s -t [Perc: 1] [indok: %s]\", name, name2, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); jailtimer[playerid] = SetTimerEx( \"jail\", 60000, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); }}return 1;}
E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(212) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(212) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(213) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(227) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(227) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(228) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(241) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(241) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(242) : error 017: undefined symbol \"string\"E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(249) : error 010: invalid function or declarationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 10 Errors.
CMD:lecsuk(playerid, params[]){ If(IsPlayerLuxAdmin(playerid)) { new giveplayerid, ido, indok[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"usi\", giveplayerid, indok, ido)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /lecsuk [playerid] [indok] <indok>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(indok, sizeof indok, \"{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s -t [Perc: %d] [indok: %s]\", name, name2, ido, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); SetTimerEx( \"jail\", ido, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); } }} return 1;forward jail(playerid);public jail(playerid){ SpawnPlayer(playerid); return 1;}
CMD:bilincs(playerid, params[]){ if(IsPlayerLuxAdmin(playerid)){ new giveplayerid, string[128], name[MAX_PLAYER_NAME], indok[128];if (sscanf(params, \"us\", giveplayerid, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /bilincs <playerid> <indok>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte %s-t! Indok:%s\", name, indok); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); }} return 1;}CMD:elenged(playerid, params[]){if(IsPlayerLuxAdmin(playerid)){ new giveplayerid, string[128], name[MAX_PLAYER_NAME]; if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /elenged <playerid>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));format(string, sizeof string, \"%s elengedett egy civilt!\", name); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,1); }} return 1;}CMD:lecsuk(playerid, params[]){if(IsPlayerLuxAdmin(playerid)){ new giveplayerid, ido, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"uds\", giveplayerid, ido, indok)) SendClientMessage(playerid, 0xa61515FF, \"Használat: /lecsuk [playerid] [ido] [indok]\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xa61515FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Börtönbe zárta %s -t [Perc: %d] [indok: %s]\", name, name2, ido, indok); SendClientMessageToAll(0xB3D5B2AA,string); SetPlayerPos(playerid,264.6288,77.5742,1001.0391); SetPlayerInterior(giveplayerid, 6); jailtimer[playerid] = SetTimerEx( \"jail\", ido, false, \"i\", giveplayerid); TogglePlayerControllable(giveplayerid,0); }}}return 1;}forward jail(playerid);public jail(playerid){KillTimer(jailtimer[playerid]);SpawnPlayer(playerid);return 1;}
E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\PC.pwn(254) : error 010: invalid function or declarationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.