[Ajuda] darlider
#1

PHP код:
CMD:darlider(playeridparams[])
{
    new 
idorgstring[256];
    if(
sscanf(params"ii"idorg)) return SendClientMessage(playerid0x9C9C9CAA"USE: /darlider [ID] [ORGANIZAЗГO]");
    if(!
IsPlayerConnected(id)) return SendClientMessage(playerid0x9C9C9CAA"Este jogador nгo estб online.");
    
    
//LINHA format(string, sizeof(string), "Vocк promoveu %s a lнder da organizaзгo: %s." PlayerName(id), GetOrgName(org));
    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
    
    
format(stringsizeof(string), "Vocк foi promovido a lнder %s, pelo admin %s."PlayerName(id), PlayerName(playerid));
    
SendClientMessage(idCOLOR_LIGHTBLUEstring);
    
    
pDados[id][Organizacao] = org;
    
pDados[id][Cargo] = 6;
    
SpawnPlayer(id);
    return 
1;

oque tem de errado

PHP код:
C:\Users\Usuario\Desktop\RPG\gamemodes\BPS.pwn(287) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\Usuario\Desktop\RPG\gamemodes\BPS.pwn(287) : error 001expected token";"but found ")"
C:\Users\Usuario\Desktop\RPG\gamemodes\BPS.pwn(287) : error 029invalid expressionassumed zero
C
:\Users\Usuario\Desktop\RPG\gamemodes\BPS.pwn(287) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply


Messages In This Thread
darlider - by JuniorTheDM - 26.08.2015, 00:46
Re: darlider - by iTakelot - 26.08.2015, 01:04
Re: darlider - by JuniorTheDM - 26.08.2015, 01:15
Re: darlider - by 99fe3rnando - 26.08.2015, 01:23

Forum Jump:


Users browsing this thread: 1 Guest(s)