[Ajuda] alguem me ajuda :D
#1

Quote:

for( new i = 0; i < MAX_PLAYERS; ++i )
{
if( GetPlayerWeapon( i ) == 24 )
{
SetPlayerHoldingObject( i, 18643, 6, -0.002120, 0.010089, -0.007754, 120.938499, 358.654724, 358.360534 );
}
else
{
StopPlayerHoldingObject( i );
}
}

e da isso

Quote:

(1555) :
(1555): error 010: invalid function or declaration
(1557) : error 010: invalid function or declaration
(1561) : error 010: invalid function or declaration

Reply
#2

Acho que nao precisa usar loop
Reply
#3

?? COMO
Reply
#4

pawn Код:
for( new i = 0; i < MAX_PLAYERS; ++i ) /*troque para*/ for( new i = 0; i < MAX_PLAYERS; i++ )
Reply
#5

Nao sei se vai funfar!
PHP код:
if( GetPlayerWeaponplayerid ) == 24 )
{
SetPlayerHoldingObjectplayerid186436, -0.0021200.010089, -0.007754120.938499358.654724358.360534 );
}
else
{
StopPlayerHoldingObjectplayerid);

Reply
#6

continuo o msm coisa
Reply
#7

Quote:
Originally Posted by Fabricio Silva
Посмотреть сообщение
continuo o msm coisa
poste todo o cуdigo ..
Reply
#8

essa poha nao ta dexando eu post o codigo
Reply
#9

dps que coloquei o codigo apareceu isso
Quote:

(1556) : error 010: invalid function or declaration
(1560) : error 010: invalid function or declaration

Reply
#10

Quote:
Originally Posted by Q.I
Посмотреть сообщение
pawn Код:
for( new i = 0; i < MAX_PLAYERS; ++i ) /*troque para*/ for( new i = 0; i < MAX_PLAYERS; i++ )
Nгo hб diferenзa alguma!


Tenta dessa forma, se nгo der posta o cуdigo todo!

pawn Код:
for(new i; i < MAX_PLAYERS; ++i)
{
    if(GetPlayerWeapon(i) == 24) SetPlayerHoldingObject(i, 18643, 6, -0.002120, 0.010089, -0.007754, 120.938499, 358.654724, 358.360534);
    else StopPlayerHoldingObject(i);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)