28.01.2010, 15:42
Код:
new GameModeMap[128]; format(GameModeMap, sizeof(GameModeMap), SCRIPT_MAP); SendRconCommand("map" SCRIPT_MAP);
// tested, doenst work.
What do it?
new GameModeMap[128]; format(GameModeMap, sizeof(GameModeMap), SCRIPT_MAP); SendRconCommand("map" SCRIPT_MAP);
new
string[48];
format(string, sizeof(string), "mapname %s", SCRIPT_MAP);
SendRconCommand(string);
Originally Posted by Don Correlli
pawn Код:
|
SendRconCommand("mapname %s", GameModeMap);
C:\Program Files\SAMP\gamemodes\erp.pwn(223) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
new string[48];
format(string, sizeof(string), "mapname %s", SCRIPT_MAP);
SendRconCommand(string);
Originally Posted by © Tђэ LυxυяiσN™
Try this:
pawn Код:
|