15.05.2014, 14:22
So i made this for regular players:
When i try to compile it with gamemode this is what happens:
PHP код:
dcmd_armme(playerid,params[])
{
#pragma unused params
if(IsRegularPlayer[playerid] != 1337)
{
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
return 1;
{
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,27,9999);
SetPlayerHealth(playerid,150);
SetPlayerArmour(playerid,100);
return 1;
PHP код:
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2275) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2278) : error 017: undefined symbol "ShowLoginScreen"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2281) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2284) : error 017: undefined symbol "ShowRegisterScreen"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2319) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2320) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2321) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2322) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2323) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2324) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2325) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2326) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2327) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2328) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2329) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2330) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2331) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2332) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2333) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2334) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2338) : error 004: function "ResetVariables" is not implemented
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2347) : error 004: function "RemoveRoadblock" is not implemented
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2370) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2400) : error 017: undefined symbol "PlayerObjectUpdate"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2544) : error 017: undefined symbol "StopLoopingAnim"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2550) : error 017: undefined symbol "PlayerName"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase