[Ajuda]Comando /pintar
#3

eu uso esse, sу para mecanico, admin e admin RCON


if(strcmp(cmd, "/pintar", true) == 0) {
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Profissao") == Mecanico || dini_Int(file, "aAdmin") == 1 || IsPlayerAdmin(playerid) == 1){
new tmp[256];
new cor1,cor2;
new veiculo;
tmp = strtok(cmdtext,idx);
cor1 = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, Vermelho, "/pintar [cor1] [cor2]");
return 1;
}
Reply


Messages In This Thread
[Ajuda]Comando /pintar - by Scripter_Sk8 - 17.01.2012, 15:06
Re: [Ajuda]Comando /pintar - by WeenSoares_ - 17.01.2012, 17:04
Re: [Ajuda]Comando /pintar - by [RoXx]Okiinho - 24.01.2012, 11:28

Forum Jump:


Users browsing this thread: 1 Guest(s)