public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You aren't login on the server.");
if(InDealer[playerid] == 1) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You are visiting the dealership.");
return 1;
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: That command isn't recognized. Please use /n(ewbie) for further help.");
}
else
{
printf("Player %s %s", Naame[playerid], cmdtext);
return 1;
}
return 1;
}
Admin Maurice: message Error: You are visiting the dealership. |
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You aren't login on the server.");
if(InDealer[playerid] == 1) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You are visiting the dealership.");
return 0;
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: That command isn't recognized. Please use /n(ewbie) for further help.");
}
else
{
printf("Player %s %s", Naame[playerid], cmdtext);
return 1;
}
return 1;
}
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You aren't login on the server.");
return 0;
}
if(InDealer[playerid] == 1)
{
SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You are visiting the dealership.");
return 0;
}
return 1;
}
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: That command isn't recognized. Please use /n(ewbie) for further help.");
}
else
{
printf("Player %s %s", Naame[playerid], cmdtext);
return 1;
}
return 1;
}