[Pedido] Leia.
#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


Messages In This Thread
Leia. - by PawnoBrasil[xPBx] - 01.12.2012, 00:28
Re: Leia. - by Delete_ - 01.12.2012, 00:38
Re: Leia. - by Gleisson_. - 01.12.2012, 01:13
Re: Leia. - by zSuYaNw - 01.12.2012, 02:21

Forum Jump:


Users browsing this thread: 1 Guest(s)