Search Results
Se For em Strcmp:
pawn Код:
if(strcmp(cmd, "/RespawnCars", true) == 0) { new string[528]; new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername,...
178
Talvez alguma chave vocк fechou errado.
Use DeBug pra ve
279
pawn Код:
//Topo do GMnew bool: AutoR[MAX_PLAYERS];new TimeCar[MAX_PLAYERS];public OnPlayerConnect(playerid){ AutoR[playerid] = false; return 1;}//ComandoCMD:autoreparo(playerid){ i...
199
Sim eu aconcelho tambйm usar ZCMD & sscanf.
Pois o processamento dos seus comandos ficara mais rapido
177
Quote:
Originally Posted by Diogo_Charters
Acerio? kkkk
Sim carreguei e deu estes erros
\gamemodes\03x_RC2.pwn(131) : warning 225: unreachable code
\gamemodes\03x_RC2.pwn(530) : warning ...
211
Quote:
Originally Posted by Diogo_Charters
'.' Ups! F5 onde?
F5 Do Teclado
211
lol... Tem certeza msm que apertou F5 ?
211
Tem Certeza que compilou ? Ou somente salvou o arquivo
211
Quote:
Originally Posted by Juniiro3
"Estou criando esse settime para quando o samp-server fechar as contas estiver salvas."
O objetivo dele й que as contas sejam salvas quando o servido...
145
Coloque no Comando
pawn Код:
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "{FFFFFF}/irpresente [1-5]");
177
Quote:
Originally Posted by Juniiro3
Nгo й necessбrio um SetTimer para salvar as contas no GMX, apesar de quando desligar o samp-server nгo passar pela OnPlayerDisconnect, passa pela O...
145
Contra Bots Eu Uso:
pawn Код:
public OnPlayerConnect(playerid){if(AntiBot == true) { if(strfind(NomePlayer(playerid),"clock$",true) != -1) Ban(playerid); if(strfind(Nome...
114
Tenta Ai:
pawn Код:
if(!strcmp(cmd, "/prender", true)){ new nomes[MAX_PLAYER_NAME][2]; GetPlayerName(playerid, nomes[0], MAX_PLAYER_NAME); format(file, sizeof(file), P_CONTAS, nomes...
121
Coloque:
pawn Код:
SetTimer("salvarcontas", 1000, 1);
Na Public:
pawn Код:
OnGameModeInit
145
Troque:
pawn Код:
if(sscanf(params, "d", LePresente)) return Msg(playerid, -1, "Use: /irpresente [1-5]"); if(LePresente < 1 || LePresente > 5) return Msg(playerid, -1, "Use: /irpr...
177
Hm... Pego meu FS de Registro e Login Removeu e add algumas coisas.
Mano Na Boa falo mais nada...
Link meu do FS: Clique Aki
333
Faзa uma Verificaзгo se o player estб preso.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext);{ if(VariavelPreso == 1) return SendClientMenssage(playerid, -1, Vocк estб preso !);...
85
pawn Код:
//Inicio do GMnew Text3D:Admin[MAX_PLAYERS];new Text3D:Vip[MAX_PLAYERS];
pawn Код:
public OnPlayerUpdate(playerid){if(pDados[playerid][Vip] > 0) { Vip[playerid] =...
229