4 Errors while creating scripts
#7

Fixed for you

Код:
// 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);
     return 1;
}
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)