03.12.2011, 11:34
Quote:
You have probablly done like this:
pawn Код:
|
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)