[Help] /cuff problem
#1

Hello guys,

This is my /cuff command:

pawn Код:
if(!strcmp(cmd,"/cuff",true))
    {
        cmd=strtok(cmdtext,idx);
        if(!strlen(cmd)) return SendClientMessage(playerid,COLOR_GREY,"USAGE: /cuff playerid");
        id=ReturnUser(cmd);
        if(!IsPlayerConnected(layerid)) return SendClientMessage(playerid,COLOR_GREY,"Invalid player id.");
        TogglePlayerControllable(layerid,0);
        GameTextForPlayer(playerid, "~y~ hand cuffs!",2500,3);
        return true;
    }

But if I compile it some errors pops up:
Quote:

C:\Documents and Settings\Joeri\Bureaublad\samp server\gamemodes\penls.pwn(9256) : error 017: undefined symbol "id"
C:\Documents and Settings\Joeri\Bureaublad\samp server\gamemodes\penls.pwn(9256) : error 017: undefined symbol "ReturnUser"
C:\Documents and Settings\Joeri\Bureaublad\samp server\gamemodes\penls.pwn(9257) : error 017: undefined symbol "layerid"
C:\Documents and Settings\Joeri\Bureaublad\samp server\gamemodes\penls.pwn(925 : error 017: undefined symbol "layerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Does anyone has a idea of what I'm doing wrong?
Reply


Messages In This Thread
[Help] /cuff problem - by joeri55 - 07.06.2009, 15:06
Re: [Help] /cuff problem - by Weirdosport - 07.06.2009, 15:10
Re: [Help] /cuff problem - by joeri55 - 07.06.2009, 16:31
Re: [Help] /cuff problem - by member - 07.06.2009, 16:32
Re: [Help] /cuff problem - by joeri55 - 07.06.2009, 16:56
Re: [Help] /cuff problem - by samgreen - 07.06.2009, 18:39
Re: [Help] /cuff problem - by joeri55 - 07.06.2009, 18:48
Re: [Help] /cuff problem - by samgreen - 07.06.2009, 18:54
Re: [Help] /cuff problem - by joeri55 - 07.06.2009, 18:54
Re: [Help] /cuff problem - by joeri55 - 07.06.2009, 18:57

Forum Jump:


Users browsing this thread: 2 Guest(s)