PlayPlayerSound problem
#1

Hello,

I've created a /setadmin command and i have added a sound.

Код:
printf("Admin %s made %s a level %d admin.", player, giveplayer, level);
					   
                       PlayerPlaySound(playerid,1097,0.0,0.0,0.0);
I would like to send the sound to the player but i can't use "player" because it's the Nick of the player.

So i'm finding a cmd to get players id from name

Thanks


Regards
Reply


Messages In This Thread
PlayPlayerSound problem - by JS7777 - 22.02.2017, 08:15
Re: PlayPlayerSound problem - by Cypress - 22.02.2017, 10:36
Re: PlayPlayerSound problem - by JS7777 - 22.02.2017, 19:51
Re: PlayPlayerSound problem - by JS7777 - 22.02.2017, 22:46
Re: PlayPlayerSound problem - by [DK]Dark_Knight - 22.02.2017, 23:22
Re: PlayPlayerSound problem - by Dice_ - 22.02.2017, 23:45
Re: PlayPlayerSound problem - by [DK]Dark_Knight - 23.02.2017, 00:14
Re: PlayPlayerSound problem - by JS7777 - 23.02.2017, 01:35
Re: PlayPlayerSound problem - by [DK]Dark_Knight - 23.02.2017, 01:44
Re: PlayPlayerSound problem - by JS7777 - 23.02.2017, 03:54

Forum Jump:


Users browsing this thread: 1 Guest(s)