[Ajuda] Dъvida
#1

Onde coloco armas pra Mafiosos й em include ou GM que local .
Reply
#2

em
PHP код:
OnPlayerSpawn 
PHP код:
if(Variaveldosmafioso[playerid] == 1)
{
    
GivePlayerWeapon(playeridIDarmaBalas);

Reply
#3

Quote:
Originally Posted by yNexus
Посмотреть сообщение
em
PHP код:
OnPlayerSpawn 
PHP код:
if(Variaveldosmafioso[playerid] == 1)
{
    
GivePlayerWeapon(playeridIDarmaBalas);

Variбvel do Mafioso?
Reply
#4

claro, vocк ja tem nгo й ?

Quote:

Onde coloco armas pra Mafiosos

Reply
#5

PHP код:
    case ClassMafia:
        {
            
format(missiontextsizeof(missiontext), Mafia_NoJobText);
            
SetPlayerColor(playeridColorClassMafia);
            
KillTimer(APlayerData[playerid][PlayerCheckTimer]);
            
APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Mafia_CheckMafiaLoads"1000true"i"playerid);
                
// Give up to 12 weapons to the player
                
for (new i12i++)
                
GivePlayerWeapon(playeridAPoliceWeapons[i], PoliceWeaponsAmmo);
            } 
A arma some quando nasce aparece rбpido e some.
Reply
#6

nгo precisa de Loop para isso

PHP код:
    case ClassMafia:
    {
        
format(missiontextsizeof(missiontext), Mafia_NoJobText);
        
SetPlayerColor(playeridColorClassMafia);
        
KillTimer(APlayerData[playerid][PlayerCheckTimer]);
        
APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Mafia_CheckMafiaLoads"1000true"i"playerid);
        
GivePlayerWeapon(playeridAPoliceWeapons[playerid], PoliceWeaponsAmmo);
    } 
Reply
#7

As armas some eu nasco ai desapareзe.
Reply
#8

Poem assim

PHP код:
case ClassMafia:
    {
        
format(missiontextsizeof(missiontext), Mafia_NoJobText);
        
SetPlayerColor(playeridColorClassMafia);
        
KillTimer(APlayerData[playerid][PlayerCheckTimer]);
        
APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Mafia_CheckMafiaLoads"1000true"i"playerid);
        
GivePlayerWeapon(playeridIDarmaMuniзгo);
    } 
Reply
#9

C:\Users\Caio\Desktop\Universo dos Caminhoneiros [GM]\pawno\include\PPC_PlayerCommands.inc(4893) : warning 217: loose indentation
C:\Users\Caio\Desktop\Universo dos Caminhoneiros [GM]\gamemodes\UDC.pwn(1066) : error 017: undefined symbol "IDarma"
C:\Users\Caio\Desktop\Universo dos Caminhoneiros [GM]\gamemodes\UDC.pwn(1066) : error 029: invalid expression, assumed zero
C:\Users\Caio\Desktop\Universo dos Caminhoneiros [GM]\gamemodes\UDC.pwn(1066) : error 029: invalid expression, assumed zero
C:\Users\Caio\Desktop\Universo dos Caminhoneiros [GM]\gamemodes\UDC.pwn(1066) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#10

nгo acredito nisso '-'

troca IDarma, por id de alguma arma, exemplo a 26
e Muniзгo pela muniзгo da arma, exemplo 200
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)