[AJUDA]Preciso De Ajuda Lк Aqui! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA]Preciso De Ajuda Lк Aqui! (
/showthread.php?tid=336810)
[AJUDA]Preciso De Ajuda Lк Aqui! -
Jake_Dunlapp - 23.04.2012
Eu Queria Um Fs Ou Codigo Pra Quando Matar Ganhar 1500 Dollares//E Um Codigo /explode Quando O Player Digita Isso Ele Explode E Atinge Outros Players Proximos//й Possivel Vcs Fazerem Um Basico Cmd Pra Isso?//E Se Pudessem Me Mandar Um Link De Como Criar Org No Gamemode Megalife 3.1! Obrigado Amigos

!
Re: [AJUDA]Preciso De Ajuda Lк Aqui! -
RoacH` - 23.04.2012
pawn Код:
public OnPlayerDeath ( playerid , killerid )
{
if ( killerid == INVALID_PLAYER_ID )
{
//GivePlayerMoney ( killerid , -100 ) ;
}
else
{
GivePlayerMoney ( killerid , 1500 ) ;
}
return 1 ;
}
if ( strcmp ( cmd , "/explodir" , true ) == 0 )
{
new Float:x , Float:y , Float:z ;
GetPlayerPos ( playerid , x , y , z ) ;
CreateExplosion ( x , y , z , 7 , 10 ) ;
return 1 ;
}
Re: [AJUDA]Preciso De Ajuda Lк Aqui! -
.FuneraL. - 23.04.2012
Sobre o matar e ganhar 1500 Dolares , Ponha isso em seu OnPlayerDeath:
pawn Код:
GivePlayerMoney(killerid, 1500);