15.12.2014, 14:25
Use these
pawn Код:
COMMAND:vcar(playerid, params[])
{
if(APlayerData[playerid][LoggedIn] != true)return SendClientMessage(playerid, -1, "{ff0000}You need to be logged in to use this command");
if(PlayerInfo[playerid][pVIP] < 2)return SendClientMessage(playerid, -1, "{ff0000}You need to be a vip to use this command");
if(IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, -1, "{ff0000}You need to be out of the vehicle to use this command.");
CarList_Create(playerid);
return 1;
}
COMMAND:car(playerid, params[])
{
if (APlayerData[playerid][LoggedIn] != true)return SendClientMessage(playerid, -1, "{ff0000}You need to be logged in to use this command");
if (APlayerData[playerid][PlayerLevel] < 1)return SendClientMessage(playerid, -1, "{ff0000}You need to be ADMIN in to use this command");
if(IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid, -1, "{ff0000}You need to be out of the vehicle to use this command.");
CarList_Create(playerid);
return 1;
}