17.04.2014, 21:29
pawn Код:
if(IsNumeric(params[0])) {
params[0] = strval(params);
gPlayerVehicle[playerid] = CreateVehicle(params[0], x, y, z, a, random(256), random(256), -1);
new string[125];
format(string, sizeof(string), "~r~%s~n~%d", VehicleNames[params[0]-400], params[0]);
GameTextForPlayer(playerid, string, 1000, 1);
PutPlayerInVehicle(playerid, gPlayerVehicle[playerid], 0);
return 1;
}