Author Topic: !getcar and wep prob in GUPS  (Read 3266 times)

0 Members and 1 Guest are viewing this topic.

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
!getcar and wep prob in GUPS
« on: December 31, 2011, 02:35:27 am »
hey guys i am scripting on GUPS v1.16 can you give me or tell me the cmd of !getcar and wep in !getcar cmd i only one time get car when i again write it the car doesnt come can you tell me plzz??
and in wep cmd i need to write !wep spaz not !wep spaz 99999 plzzz help me  :(
Storm City Owner

Stormcity.smfnew.com

Offline SaFeeR

  • Street Thug
  • *
  • Posts: 37
  • Pawno Scripter
    • View Profile
    • PaK-ServeR Website
Re: !getcar and wep prob in GUPS
« Reply #1 on: December 31, 2011, 11:16:55 am »
in !getcar cmd i only one time get car when i again write it the car doesnt come
i have same problem but i can solve ur !wep prob
[pawn]else if (strcmp(cmd, "!we", true) == 0 || strcmp(cmd, "!wep", true) == 0) {
   new wep;
   tmp = strtok(cmdtext, idx);
   if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
   else if (!strlen(tmp)) SendClientMessage(playerid, COLOR_GREEN, "USAGE: !wep [WeaponName/ID]");
   else {
      wep = FindWepIDFromString(tmp);
      if(wep != 33 || 3 ) SetPlayerWeapon(playerid,wep,9999999);
      else SendClientMessage(playerid,COLOR_RED,"You can't get this weapon, sorry.");
   }
   return 1;
}[/pawn]
If You Like My Scripting Like My Page


Offline (VEK)Prince

  • Street Thug
  • *
  • Posts: 10
  • PWN Scripter XC Developer
    • View Profile
Re: !getcar and wep prob in GUPS
« Reply #2 on: January 08, 2012, 06:34:54 pm »
lol im tired of saying that all people have sufering the same problem but you should not let car boom by you if it comes to an explosion so do !fix or !ff to correct and after that car booms so you can getcar millions time how much you want

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: !getcar and wep prob in GUPS
« Reply #3 on: January 09, 2012, 10:59:38 am »
lol im tired of saying that all people have sufering the same problem but you should not let car boom by you if it comes to an explosion so do !fix or !ff to correct and after that car booms so you can getcar millions time how much you want

 ^

 Add this at getcar command :
Code: [Select]
new Float:X,Float:Y,Float:Z,Float:Angle, szMsg[256];
GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
                        SetVehicleToRespawn(strval(tmp)); // ADD THIS <- ( NOT THE COMMENT )
SetVehiclePos(strval(tmp),X+3,Y+3,Z,Angle);
« Last Edit: January 17, 2014, 11:02:55 pm by heekz.shadow »
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players