im tring to add /occ commands but i just get loads of errors
:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(174) : error 017: undefined symbol "cmd"
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(174) : error 036: empty statement
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(175) : warning 217: loose indentation
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(176) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(176) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(181) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(181) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(181) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(186) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(186) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(186) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(191) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(191) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(191) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(196) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(196) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(196) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(201) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(201) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(201) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(206) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(206) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(206) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(211) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(211) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(211) : error 004: function "OnRconCommand" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(216) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(216) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(216) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(221) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(221) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(221) : error 004: function "OnObjectMoved" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(226) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(226) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(226) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(231) : warning 225: unreachable code
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(231) : error 029: invalid expression, assumed zero
C:\Users\alex\Desktop\my own gm\Gamemode\jrp.pwn(231) : error 004: function "OnPlayerPickUpPickup" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0);
{
i know i need to add over stuff but i just dont o hwat i need if some would be realy kind could you show me what i need to add and where ( please im not edit a def GM this is my own from scratch.