[HELP] If players name = 'example' do this action
#5

Quote:
Originally Posted by ► © The LuxurioN™
Add this function to check the name of the player.
Then define a function to it (Example: GivePlayerMoney, RemovePlayerFromVehicle ,...)

pawn Код:
new PlayerName[24];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
pawn Код:
if(strcmp(PlayerName,"indy-greg",true))
{

Is just one example!
That is EXACTLY the thing i needed. Thanks very much.
Reply


Messages In This Thread
[HELP] If players name = 'example' do this action - by indy-greg - 05.09.2009, 18:48
Re: [HELP] If players name = 'example' do this action - by Correlli - 05.09.2009, 18:56
Re: [HELP] If players name = 'example' do this action - by Correlli - 05.09.2009, 19:00
Re: [HELP] If players name = 'example' do this action - by LuxurioN™ - 05.09.2009, 19:02
Re: [HELP] If players name = 'example' do this action - by indy-greg - 05.09.2009, 19:08

Forum Jump:


Users browsing this thread: 1 Guest(s)