10.04.2015, 19:29
Hello everyone.
How do i add for example sultan to LSPD faction?
How do i add for example sultan to LSPD faction?
#define MAX_CARS (yourmax)
enum vehData {
VehID,
VehTeam
};
new VehData[MAX_CARS][vehData];
enum playerData {
pTeam
};
new PlayerData[MAX_PLAYERS][playerData];
CMD:createveh(playerid, params[])
{
static
model,
team;
if (sscanf(params, "dd", model, team))
{
SendClientMessage(playerid, -1, "/createveh <model> <team>");
return 1;
}
return 1;
}