27.04.2010, 03:43
How do i use this command for people with only a certain name for some reason i tried it and it didn't work.
|
Originally Posted by Freddo [BINMAN
|
Strcmp(name,"Steven82")
{
{
//something here
}
else
{
//something else here
}
}
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(!strcmp(name, "Steven82", true)) {
//Stuff to do if steven82 is matched.
}
else
{
//random other code
}
|
Originally Posted by Steven82
Quote:
pawn Код:
|