01.08.2009, 15:45
How do you create a command so that only a certain person can use it, Like Sam_Hamilton.
new name[24];
GetPlayerName(playerid, name, sizeof(name));
if(strcmp("YourName", name, true) == 0)
{
//do stuff
}
if(strcmp("YourName", name, true) == 0 && PlayerInfo[playerid][LoggedIn] == 1)
{