Small question about a command
#4

pawn Код:
new name[24];
GetPlayerName(playerid, name, sizeof(name));//Get the name here.
if(strcmp(name, "dirkblok", true) == 0)//Match name with dirkblok
{
  //do something
}
else
{
  SendClientMessage(playerid, COLOR, "You're not dirkblok!");
}
Reply


Messages In This Thread
Small question about a command - by dirkblok - 18.10.2009, 10:29
Re: Small question about a command - by saiberfun - 18.10.2009, 10:41
Re: Small question about a command - by dirkblok - 18.10.2009, 10:59
Re: Small question about a command - by Djiango - 18.10.2009, 11:16
Re: Small question about a command - by Tigerbeast11 - 18.10.2009, 11:19
Re: Small question about a command - by Correlli - 18.10.2009, 11:30
Re: Small question about a command - by dirkblok - 18.10.2009, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)