[Ajuda] O que tem de errado com esse cod
#1

Criei uma forward:

PHP код:
forward SumirObejct(playerid); 
Depois no comando /roubar coloquei

PHP код:
SetTimerEx("SumirObject"10000false"i"playerid);
            
SetPlayerAttachedObject(playerid3155010.1, -0.300400111); 
No final coloquei:

PHP код:
public SumirObject(playerid) return RemovePlayerAttachedObject(playerid); 
Deu essa warning o q pode ser ?:

linha :
pawn Код:
public SumirObject(playerid) return RemovePlayerAttachedObject(playerid);
[ph]C:\Users\Kinho\Desktop\My Server\gamemodes\BrasilBestServer.pwn(52853) : warning 202: number of arguments does not match definition[/php]
Reply
#2

pawn Код:
RemovePlayerAttachedObject ( playerid , 3 );
Reply
#3

public SumirObject(playerid)
{
RemovePlayerAttachedObject(playerid);
return 1;
}
Reply
#4

pawn Код:
SetPlayerAttachedObject(playerid, 3, 1550, 1, 0.1, -0.3, 0, 0, 40, 0, 1, 1, 1)
Geralmente sao essas coordenadas, vc tem diminuir isso dai
Reply
#5

pawn Код:
public SumirObject(playerid)
{
RemovePlayerAttachedObject(playerid);
return 1;
}
Reply
#6

Quote:
Originally Posted by Felipe_Wesker
Посмотреть сообщение
pawn Код:
SetPlayerAttachedObject(playerid, 3, 1550, 1, 0.1, -0.3, 0, 0, 40, 0, 1, 1, 1)
Geralmente sao essas coordenadas, vc tem diminuir isso dai
Errado, ele adicionou 13 parвmetros, que й o mбximo do SetPlayerAttachedObject , sendo que sу os 4 primeiros sгo obrigatуrios, conclusгo: o restante й opcional e ele nгo estб errado.

Reply
#7

Код:
public SumirObject(playerid)
{
RemovePlayerAttachedObject(playerid,3);
return 1;
}
Reply
#8

Porra, nгo intendo isso, para que tantos codes iguais?
Se vocк vк que alguйm postou o cуdigo que vocк ia postar, para que repostar?
Doenзas mentais? PQP.
Reply
#9

Jб ajudei ele por MSN.
Reply
#10

humildade forever ja me ajudou por msn REP a ela e aos q tentaram me ajudar tbm ;X
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)