14.12.2012, 18:08
Alguйm tem o Comando /godMode pra Admin 3000/ Quando o Admin Digita isso, ele nunca morre..?
if(strcmp(cmd,"/godmode",true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 3000)
{
SetPlayerHealth(playerid,1000000);
}
return true;
}
C:\Users\Jow\Documents\Brasil Winner City\gamemodes\BWC.pwn(5295 : error 010: invalid function or declaration C:\Users\Jow\Documents\Brasil Winner City\gamemodes\BWC.pwn(52960) : error 010: invalid function or declaration C:\Users\Jow\Documents\Brasil Winner City\gamemodes\BWC.pwn(52964) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. |
Originally Posted by SouLMito
Ele te deu a base do cуdigo cabe a vocк adapta-lo ao seu GM.
|
if(PlayerInfo[playerid][pAdmin] < 3000) return SendClientMessage(playerid,-1,"{c0c0c0}vc nгo estб altorizado;");
SetPlayerHealth(playerid,cellmax);
#define INFINITY (Float:0x7F800000)
#define INFINITY (Float:0x7F800000)
SetPlayerHealth(playerid, INFINITY);