Jump to content

Roach

Membru
  • Posts

    660
  • Joined

  • Last visited

    Never

Everything posted by Roach

  1. Multumesc Farse! PS:Nu folosesc s0beit pentru ca asa vreau, ci pentru ca imi merge jokul mai repede(oricum iam scos functiile de hack)!
  2. Am facut un dialog dar cand dau comanda(/ah)imi apare 3 sferturi din ce am scris eu in dialog iar eu vreau sami apara tot cum fac??? As vrea sa se vada toate comenzile si de la admin 1338!Va rog un pic de ajutor!
  3. Bun, deeci in samp 0.3b se vad obiectele in ceata de la departare si cand ma apropii se vad bine dar as vrea sa se vada bine si de la departare cum as putea face ???
  4. Nu-mi merge ma mai poate ajuta cineva!Va Rog. :'(
  5. Uitati am comanda /veh in GM dar cand spawnez masini, motociclete etc.Dar niciun player nu se poate sui in masini...Nu inteleg dc?Nici macar eu! Ma poate ajuta cineva :'( :-\ :'( Va rog. Uitati comanda: if(strcmp(cmd, "/veh", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] < 1338) { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /veh [carid] [color1] [color2]"); return 1; } new car; car = strval(tmp); if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_GREY, " Vehicle Number can't be below 400 or above 611 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /veh [carid] [color1] [color2]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /veh [carid] [color1] [color2]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; } new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new carid = CreateVehicle(car, X,Y,Z, 0.0, color1, color2, 60000); CreatedCars[CreatedCar] = carid; CreatedCar ++; format(string, sizeof(string), " Vehicle %d spawned.", carid); SendClientMessage(playerid, COLOR_GREY, string); } Sper ca ma puteti ajuta!....Va rog.
  6. Am 4 Erori la un GM!Mar putea ajuta cineva sa le fak!!! :::...::: C:\Users\Adi\Desktop\Danger.Super.Drift[0.3a]\gamemodes\RO.pwn(1352) : error 017: undefined symbol "VehicleName" C:\Users\Adi\Desktop\Danger.Super.Drift[0.3a]\gamemodes\RO.pwn(1352) : warning 215: expression has no effect C:\Users\Adi\Desktop\Danger.Super.Drift[0.3a]\gamemodes\RO.pwn(1352) : error 001: expected token: ";", but found "]" C:\Users\Adi\Desktop\Danger.Super.Drift[0.3a]\gamemodes\RO.pwn(1352) : error 029: invalid expression, assumed zero C:\Users\Adi\Desktop\Danger.Super.Drift[0.3a]\gamemodes\RO.pwn(1352) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. AttachTrailerToVehicle(vid,GetPlayerVehicleID(playerid)); format(string, sizeof(string), "Acum tu tractezi un %s",VehicleName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); SendClientMessageToAll(0xFFFF00AA, string); } } } if (!Found) {
  7. Roach

    2 Intrebari

    Ms si o sa postez comanda.
  8. Roach

    2 Intrebari

    Pe sv de stunt cand dau /ad(Doar /ad si cand scriu /ad text...)imi scrie dedesupt /ad[TEXT]dar mai dedesupt imi zice ''Comanda /ad nu exista''Cum sa rezolv asta? Si cum sa rezolv bugul ca atunci cand ma tp sami ramana armele...ex:Am Minigun si vreau sa merg la /aa ca sai omor pe uni cum fac ca sami ramana armele? if(strcmp(cmd, "/ad", true) == 0) { new message[256]; new playername[MAX_PLAYER_NAME]; strmid(message, cmdtext, 3, strlen(cmdtext)); GetPlayerName(playerid, playername, sizeof(playername)); if(!strlen(message)) { SendClientMessage(playerid, 0xFF0606FF, "|| Use /ad [text] ||"); } else { format(string, sizeof(string), "[Radio] %s |Message sent by %s (playerid:%d) pm me!||",message, playername, playerid); printf(string); SendClientMessageToAll(0xADFF2FAA, string); GivePlayerMoney(playerid,-2000); } }
  9. Am o problema cu masinile personale...cum pot schimba partile masinii din pawno?
  10. Wow , super tare 10/10 si +1 de la mine!
×
×
  • 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.