Making a /help command, Gives error?
#1

[b]

Hello, I am creating a new Gamemode, But now i've want to made a /help with This:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Help", cmdtext, true, 10) == 0)
SendPlayerFormattedText(playerid, "/Teleports - Shows a list of Teleports", 0);
}
return 1;
}

And i recieve this errors:
C:\Users\Rick\Desktop\New\war\gamemodes\DoNotFall. pwn(94) : error 017: undefined symbol "SendPlayerFormattedText"
C:\Users\Rick\Desktop\New\war\gamemodes\DoNotFall. pwn(96) : error 010: invalid function or declaration

I have no Idea what to do, I am pretty much new to scripting, So i really want to learn it.

[b] Note: This gamemode is a NEW Clean one, I've set a Spawnpoint + a Joining skin.. But i can not do this /help command.
Reply


Messages In This Thread
Making a /help command, Gives error? - by Rickzor14 - 14.12.2009, 11:56
Re: Making a /help command, Gives error? - by Roksizzz - 14.12.2009, 12:00
Re: Making a /help command, Gives error? - by Rickzor14 - 14.12.2009, 12:15

Forum Jump:


Users browsing this thread: 2 Guest(s)