Newbie Scripter needs some help!
#1

Hey I am trying to create a help menu and I need some help , I know I should look at the guides but I like to learn as I go :P
Ok heres the command im making :
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/help", cmdtext, true, 10) == 0)
	{
		SendClientMessage(Playerid ,#008000 ,"Welcome To my test script!");
		SendClientMessage(Playerid ,#008000 ,"The Lastest Commands are:");
		SendClientMessage(Playerid ,#008000 ,"Look in /Commands for the newist Commands.");
		SendClientMessage(Playerid ,#008000 ,"Other help menus:");
		SendClientMessage(Playerid ,#008000 ,"Blah Blah.");
		SendClientMessage(Playerid ,#008000 ,"Enjoy !!");
		return 1;
	}
	return 0;
}
Im useing the sa-mp wiki guide and this is what it and pawno say I shoudl do but I get this... :
Код:
C:\Documents and Settings\rentacenter\Desktop\Gta Folder\SA-MP\gamemodes\TestScript.pwn(77) : error 017: undefined symbol "Playerid"
C:\Documents and Settings\rentacenter\Desktop\Gta Folder\SA-MP\gamemodes\TestScript.pwn(78) : error 017: undefined symbol "Playerid"
C:\Documents and Settings\rentacenter\Desktop\Gta Folder\SA-MP\gamemodes\TestScript.pwn(79) : error 017: undefined symbol "Playerid"
C:\Documents and Settings\rentacenter\Desktop\Gta Folder\SA-MP\gamemodes\TestScript.pwn(80) : error 017: undefined symbol "Playerid"
C:\Documents and Settings\rentacenter\Desktop\Gta Folder\SA-MP\gamemodes\TestScript.pwn(81) : error 017: undefined symbol "Playerid"
C:\Documents and Settings\rentacenter\Desktop\Gta Folder\SA-MP\gamemodes\TestScript.pwn(82) : error 017: undefined symbol "Playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply


Messages In This Thread
Newbie Scripter needs some help! - by chriswilson - 08.03.2010, 22:25
Re: Newbie Scripter needs some help! - by Torran - 08.03.2010, 22:28
Re: Newbie Scripter needs some help! - by chriswilson - 08.03.2010, 22:32
Re: Newbie Scripter needs some help! - by Torran - 08.03.2010, 22:33
Re: Newbie Scripter needs some help! - by chriswilson - 08.03.2010, 22:36
Re: Newbie Scripter needs some help! - by Torran - 08.03.2010, 22:37
Re: Newbie Scripter needs some help! - by chriswilson - 08.03.2010, 22:42
Re: Newbie Scripter needs some help! - by aircombat - 08.03.2010, 22:59

Forum Jump:


Users browsing this thread: 1 Guest(s)