Jump to content

OnlyStyle

Membru
  • Posts

    2
  • Joined

  • Last visited

    Never

OnlyStyle's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Nu am ce ai spus tu, unde comanda [pawn]if(strcmp(x_nr,"find1",true) == 0) { new keycar = PlayerInfo[playerid][pPcarkey]; new Float:vehx, Float:vehy, Float:vehz; GetVehiclePos(keycar, vehx, vehy, vehz); if(keycar != 999) { if(Searching[playerid] == 0) { Searching[playerid] = 1; SetPlayerCheckpoint(playerid, vehx, vehy, vehz, 3.0); SendClientMessage(playerid, COLOR_RED, "Your car is at the red marker on the map. Type /v foundit when you have found it."); } else { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, vehx, vehy, vehz, 3.0); SendClientMessage(playerid, COLOR_RED, "Your car is at the red marker on the map. Type /v foundit when you have found it."); } } }[/pawn]
  2. Salut ,as vrea sa stiu cum sa pun sa nu poti folosi o comanda cand ai un job, de exemplu la bus, dai /startwest si vreau sa nu poti da /v find1 ... [pawn]if(strcmp(cmd, "/startwest", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 14) { if (BusrouteWest[playerid][0] == 12 || BusrouteEast[playerid][0] == 12) { BusrouteWest[playerid][0] = 0; BusrouteEast[playerid][0] = 0; } if(BusrouteWest[playerid][0] == 0 && BusrouteEast[playerid][0] == 0) { new playervehicleid = GetPlayerVehicleID(playerid); if(IsABus(playervehicleid)) { TogglePlayerControllable(playerid, 1); GameTextForPlayer(playerid, "~g~Bus Route Started", 5000, 3); SendClientMessage(playerid, COLOR_LIGHTRED, "---------West Los Santos Bus Route-----------"); SendBusRoute(playerid, 1); SendClientMessage(playerid, COLOR_RED, " "); SendClientMessage(playerid, COLOR_GREEN, "Red markers will be placed along the route."); SendClientMessage(playerid, COLOR_GREEN, "Your service will be advertised to nearby players at the next stop automatically."); //GangZoneHideForPlayer(playerid, buszoneeast); //GangZoneHideForPlayer(playerid, buszonewest); BusrouteWest[playerid][0] = 1; BusrouteWest[playerid][1] = playervehicleid; //BusrouteWest[playerid][2] = 0; /* for (new i=0; i<=MAX_PLAYERS; i++) { if (IsPlayerConnected(i) && GetPlayerVehicleID(i) == playervehicleid) BusrouteWest[playerid][2] ++; }*/ OnPlayerEnterCheckpoint(playerid); return 1; } else { SendClientMessage(playerid, COLOR_GREY, "You are not in a bus!"); } } else { SendClientMessage(playerid, COLOR_GREY, "You are already on a route!"); } } else { SendClientMessage(playerid, COLOR_GREY, "You are not a bus driver!"); } } return 1; }[/pawn] Dupa ce am executat aceasta comanda vreau sa nu mai pot da /v find1-2-3-4-5-6-7 si sa scrie: Nu poti da /v find1-2-3-4-5-6-7 cand esti la Munca.
×
×
  • 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.