11.04.2015, 18:53
Hello evryone.
I dont know where to put this script the place for it can someone help?Its a create vehicle command.
I dont know where to put this script the place for it can someone help?Its a create vehicle command.
PHP код:
#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;
}