[Ajuda] Servidor cai quando entra em um carro criado
#4

Quote:
Originally Posted by murilo789
Посмотреть сообщение
COMMAND:carros(playerid, params[])
{

// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
// Check if the player's admin-level is at least 1
if (APlayerData[playerid][PlayerLevel] >= 1)
{
// Make sure the player isn't inside a vehicle
if (GetPlayerVehicleID(playerid) == 0)
CarList_Create(playerid); // Create a list of cars (only the first 10 cars) and show the dialog so the player can choose a car
}
else
return 0;
}
else
return 0;

// Let the server know that this was a valid command
return 1;
}
Mande o codigo do "CarList_Create"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)