11.04.2011, 13:07
Hi guys. I need some help. I am beginning a new DM script, but I have not installed GTA SA in my PC. So, first of all I need the exact coordinates of:
LS Hospital (All Saints)
Ganton Gym
LSPD
Now, for the /ban cmd I have this:
Should this work? :
LS Hospital (All Saints)
Ganton Gym
LSPD
Now, for the /ban cmd I have this:
pawn Код:
CMD:ban(playerid, params[]) {
new id, r;
if(sscanf(params, "uz", id, r)) {
if(IsPlayerAdmin(playerid)) {
if(id != INVALID_PLAYER_ID) {
new name[MAX_PLAYER_NAME], str[128];
GetPlayerName(id, name, MAX_PLAYER_NAME);
format(str, sizeof(str), "An Admin has banned %s. Reason: %s", name, r);
BanEx(id, str);
}
else return SendClientMessage(playerid, COLOR_GREY, "Error: Player not found");
}
else return SendClientMessage(playerid, COLOR_BRIGHTRED, "You have no acces to this command");
}
else return SendClientMessage(playerid, COLOR_ORANGE, "Syntax Error: /kick [playerid/partofname] [reason (optional)]");
return 1;
}
pawn Код:
format(str, sizeof(str), "An Admin has banned %s. Reason: %s", name, r);
BanEx(id, str);