First script
#1

Argh, I am doing my first script but it is not working, what is the problem?

Код:
26238 if strcmp("/heal", cmdtext, true, 10) == 0)
26239 {
26240 SetPlayerHealth(playerid,100);
26241 SendClientMessage(playerid,"You have been healed!");
26242 Return 1;
26243}
I get this: ER\Gamem\The Godfather\gamemodes\gf.pwn(2623 : error 010: invalid function or declaration

This is really my first dont be mad
Reply


Messages In This Thread
First script - by flashsnake - 02.06.2011, 17:20
Re: First script - by Jay. - 02.06.2011, 17:22
Re: First script - by sleepysnowflake - 02.06.2011, 17:24
Re: First script - by flashsnake - 02.06.2011, 17:26
Re: First script - by Jay. - 02.06.2011, 17:27
Re: First script - by sleepysnowflake - 02.06.2011, 17:28
Re: First script - by flashsnake - 02.06.2011, 17:28
Re: First script - by sleepysnowflake - 02.06.2011, 17:32
Re: First script - by gamer931215 - 02.06.2011, 17:32
Re: First script - by Jay. - 02.06.2011, 17:34

Forum Jump:


Users browsing this thread: 2 Guest(s)