21.03.2012, 01:08
Editei um comando pra adm e agora tб pedindo pra mim Definir "cmdtext"
Cуdigo:
A msg do compilador:
Como posso resolver isso?
Cуdigo:
PHP код:
dcmd_vercmds(playerid, params[])
{
#pragma unused params
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i)){
new stringcmd[256];
new playa[MAX_PLAYER_NAME];
GetPlayerName(playerid, playa,MAX_PLAYER_NAME);
format(stringcmd, 256, "O jogador %s Id:%d Digitou o Comando: %s", playa,playerid,cmdtext);
SendClientMessage(i,0xFFFFFFAA, stringcmd);
}
}
return 1;
}
PHP код:
D:\Documents and Settings\HOME-PC\Meus documentos\server-teste\gamemodes\adrenaline.pwn(2183) : error 017: undefined symbol "cmdtext"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.