[Pedido] Leia.
#1

Bom, primeiramente como criar um explosгo б 10 metros do player?
Sei criar a explosгo sу que nгo consigo coloca-la para exatamente na frente no player..

Outra.

Como aumentar a altura do pulo e a velocidade em que o player anda.

Peзo que sejam exatos na resposta e irei ignorar respostas indevidas.
Reply
#2

GetPlayerPos(...)
CreateExplosion(...)
Reply
#3

PHP код:
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
new 
Float:burnxFloat:burnyFloat:burnzGetPlayerPos(player1,burnxburnyburnz); CreateExplosion(burnxburny burnz7,10.0);
//Final do seu gm
stock PlayerName(playerid)
{
new 
name[255];
GetPlayerName(playeridname255);
return 
name;

Reply
#4

Quote:
Originally Posted by Gleisson_.
Посмотреть сообщение
PHP код:
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
new 
Float:burnxFloat:burnyFloat:burnzGetPlayerPos(player1,burnxburnyburnz); CreateExplosion(burnxburny burnz7,10.0);
//Final do seu gm
stock PlayerName(playerid)
{
new 
name[255];
GetPlayerName(playeridname255);
return 
name;

Ei amigo, faltou +1 na array "name".

Pegar posiзгo na frente do player
http://forum.sa-mp.com/showpost.php?...84&postcount=2

Criar explosгo:
https://sampwiki.blast.hk/wiki/CreateExplosion

Pegar posiзгo do player:
https://sampwiki.blast.hk/wiki/GetPlayerPos


*para pegar o nome doplayer, basta introduzir n o topo do gamemode:
pawn Код:
new zPlayerName[ MAX_PLAYERS ][24];
#define PlayerName(%0) (GetPlayerName(%0, zPlayerName[%0], 24), zPlayerName)
Boa sorte.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)