08.03.2010, 22:25
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 :
Im useing the sa-mp wiki guide and this is what it and pawno say I shoudl do but I get this... :
, I know I should look at the guides but I like to learn as I go :POk 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;
}
Код:
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.


