Jump to content

sprites

Membru
  • Posts

    3
  • Joined

  • Last visited

Everything posted by sprites

  1. Asigura-te ca folosesti ultima versiune pentru plugins si corespund cu sistemul de operare(dll pentru windows, verifica in server.cfg).
  2. CMD:veh(playerid, params[]) { new vehid, vcolor1, vcolor2, string1[100], Float:x, Float:y, Float:z; if(sscanf(params, "ddd", vehid, vcolor1, vcolor2)) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Folosire: /veh [carid] [color1] [color2]"); if(vehid < 400 || vehid > 611) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Invalid ID! [ Id-ul trebuie sa fie intre 400 - 611 ]"); if((vcolor1 < 0 || vcolor1 > 255) && (vcolor2 <0 || vcolor2 > 255)) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Invalid ID Color! [ Id-ul trebuie sa fie intre 0 - 255 ]"); GetPlayerPos(playerid, x, y, z); CreateVehicle(vehid, x + 3, y, z, 0, vcolor1,vcolor2, -1); SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Masina a fost spawnata la locatia ta!"); format(string1,sizeof(string1), "SERVER: {FFFFFF}Ti-ai spawnat un "ROSU"%s "ALB"[Color1: %d , Color2: %d].", NumeMasini[vehid - 400],vcolor1,vcolor2); SendClientMessage(playerid, COLOR_LIGHTRED,string1); VehicleInfo[vehid][IsAnAdminCar] = 1; return 1; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.