25.04.2011, 00:39
pawn Код:
CMD:drift(playerid, params[])
{
new place;
if(sscanf(params, "d", place)) return SendClientMessage(playerid, -1, "Usage: /drift <drift place> (1-53)");
if(place < 1 || place > 53) return SendClientMessage(playerid, COLOR_YELLOW, "ERROR: Invalid Drift place. It can be only from 1 to 53!");
PlayerGoesDrift(playerid, DriftCoords[place-1][0], DriftCoords[place)-1][1], DriftCoords[place-1][2], DriftCoords[place-1][3], DriftCoords[place-1][4]);
return 1;
}