28.06.2012, 16:49
How i can solve this error
Script
Error is
Script
Код:
public ChangeHostName() { new var=random(7); switch(var) { case 0: SendRconCommand("hostname ________________________"); case 1: SendRconCommand("hostname _______________________"); } } public GameModeChanger() { new var=random(9); switch (var) { case 0: SendRconCommand("gamemodetext _______________________________"); case 1: SendRconCommand("gamemodetext ______________________________"); } } public MapNameChanger() { new var=random(4); switch (var) { case 0: SendRconCommand("mapname ___________________"); case 1: SendRconCommand("mapname____________________"); } }
Код:
C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3066) : warning 217: loose indentation C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3066) : error 029: invalid expression, assumed zero C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3066) : error 004: function "ChangeHostName" is not implemented C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3081) : error 029: invalid expression, assumed zero C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3081) : error 004: function "GameModeChanger" is not implemented C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3098) : error 029: invalid expression, assumed zero C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3098) : error 004: function "MapNameChanger" is not implemented C:\Users\hp\Desktop\3e server\gamemodes\GM.pwn(3115) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.