4 Errors while creating scripts
#6

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
You have probablly done like this:

pawn Код:
New targetid;

new targetid; // CHANGE IT WITH THIS!
4 more errors:
C:\Documents and Settings\Jan\Desktop\Trucking RPG [TRPG]\filterscripts\Commands.pwn(13) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Jan\Desktop\Trucking RPG [TRPG]\filterscripts\Commands.pwn(13) : error 017: undefined symbol "Correct"
C:\Documents and Settings\Jan\Desktop\Trucking RPG [TRPG]\filterscripts\Commands.pwn(13) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jan\Desktop\Trucking RPG [TRPG]\filterscripts\Commands.pwn(13) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Lines 1 - 15:

pawn Код:
// Simple Commands for RP Servers
// Credits to JanNovak

#include <sscanf2>
#include <a_samp>
#include <zcmd>

#define black 000000

CMD:heal(playerid, params[])
{
     new targetid;
     if(sscanf(params,"u", targetid)) return SendClientMessage(playerid, black, "Correct Usage: /heal [ID]
     if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, black, "
Player not Connected to the Server"
     SetPlayerHealth(targetid, 100)
Reply


Messages In This Thread
4 Errors while creating scripts - by JanNovak - 02.12.2011, 21:35
Re: 4 Errors while creating scripts - by MP2 - 02.12.2011, 22:09
Re: 4 Errors while creating scripts - by JanNovak - 03.12.2011, 11:05
Re: 4 Errors while creating scripts - by Kostas' - 03.12.2011, 11:06
Re: 4 Errors while creating scripts - by sleepysnowflake - 03.12.2011, 11:13
Re: 4 Errors while creating scripts - by JanNovak - 03.12.2011, 11:34
Re: 4 Errors while creating scripts - by MadSkillz - 03.12.2011, 11:37
Re: 4 Errors while creating scripts - by JanNovak - 03.12.2011, 11:40
Re: 4 Errors while creating scripts - by Kostas' - 03.12.2011, 11:48
Re: 4 Errors while creating scripts - by JanNovak - 03.12.2011, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)