What's Wrong! /idiot [ID]
#8

Quote:
Originally Posted by TheHoodRat
Посмотреть сообщение
pawn Код:
#include <a_samp>
#include <zcmd>

#define FILTERSCRIPT
#define COLOR_RED 0xFF0000AA


CMD:idiot(playerid, params[])
{
    new
        otherid,
        oName[MAX_PLAYER_NAME],
        string[64]
    ;
    if (!IsPlayerAdmin(playerid)) return 0;
    if(sscanf(params, "u", otherid)) return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /Idiot [id]");

    GetPlayerName(playerid, oName, sizeof(oName));
    format(string, sizeof(string), "**(IDIOT)** %s <-- Is an idiot!", oName);
    SendClientMessageToAll(COLOR_RED, string);
    return 1;
}
You need to download zcmd.

Download here.

Before you can use the script above, you have to download zcmd then paste it in your pawno/includes folder, hope I helped.



No, that only works with dcmd.
It acctually made it worse xD
Error:

pawn Код:
C:\Users\Lars Erik\Documents\SAMP Server\My server\filterscripts\FACEPALM (WIP)\FACEPALM.pwn(16) : error 017: undefined symbol "sscanf"
C:\Users\Lars Erik\Documents\SAMP Server\My server\filterscripts\FACEPALM (WIP)\FACEPALM.pwn(16) : error 017: undefined symbol "COLOR_GRAD2"
C:\Users\Lars Erik\Documents\SAMP Server\My server\filterscripts\FACEPALM (WIP)\FACEPALM.pwn(11) : warning 203: symbol is never used: "otherid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
What's Wrong! /idiot [ID] - by Larsey123IsMe - 10.11.2010, 00:20
Re: What's Wrong! /idiot [ID] - by TheHoodRat - 10.11.2010, 00:21
Re: What's Wrong! /idiot [ID] - by Larsey123IsMe - 10.11.2010, 00:23
Re: What's Wrong! /idiot [ID] - by Hiitch - 10.11.2010, 00:32
Re: What's Wrong! /idiot [ID] - by TheHoodRat - 10.11.2010, 00:34
Re: What's Wrong! /idiot [ID] - by [L3th4l] - 10.11.2010, 00:43
Re: What's Wrong! /idiot [ID] - by Hiitch - 10.11.2010, 00:43
Re: What's Wrong! /idiot [ID] - by Larsey123IsMe - 10.11.2010, 00:47
Re: What's Wrong! /idiot [ID] - by Buzzbomb - 10.11.2010, 00:54
Re: What's Wrong! /idiot [ID] - by Larsey123IsMe - 10.11.2010, 01:28

Forum Jump:


Users browsing this thread: 2 Guest(s)