24.05.2013, 00:22
Tenteii criar outras /profissoes que dizer criei 1 pra vк se dava olha aeh'
Deu warning
PHP код:
if(strcmp(cmd, "/profissao", true) == 0) {
format(file, sizeof(file), PASTA_CONTAS, GetPlayerNameEx(playerid));
if(dini_Int(file, "Profissao") == Desempregado)
return SendClientMessage(playerid, Verde, "Desempregado");
if(dini_Int(file, "Profissao") == MotoristaP) {
static cStrAux[150];
strcat(cStrAux, "Da cu\n");
strcat(cStrAux, "Da cu\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!");
ShowPlayerDialog(playerid, 666, DIALOG_STYLE_MSGBOX, "Motorista particular", cStrAux, "OK","");
}
if(dini_Int(file, "Profissao") == Policial_R) {
static cStrAux[150];
strcat(cStrAux, "/Prender [ID] [MOTIVO]\n");
strcat(cStrAux, "/Procurar [ID] [MOTIVO]\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!\n");
strcat(cStrAux, "Your Text Here!");
ShowPlayerDialog(playerid, 666, DIALOG_STYLE_MSGBOX, "Policial Rodoviario", cStrAux, "OK","");
}
return true;
}
PHP код:
C:\Users\Nilda\Desktop\BVN\gamemodes\BVN.pwn(11554) : warning 217: loose indentation
C:\Users\Nilda\Desktop\BVN\gamemodes\BVN.pwn(11587) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 10012 bytes
Code size: 1260836 bytes
Data size: 4051756 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 5338988 bytes
2 Warnings.