Author Topic: i need some cmd for gups  (Read 3751 times)

0 Members and 1 Guest are viewing this topic.

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
i need some cmd for gups
« on: January 07, 2012, 03:44:08 am »
hey guys how are u??Guys i need the cmd of !getcar , !heal , !wep and !gotoloc for gups
in !getcar cmd :when i getcar one time it come but second time it will not come
in !heal cmd: when i type heal they say me "you have to be hospital"i cant heal in another place plzz help
in !wep cmd: they say me type !wep [weponsname] [ammo] is dont want to type ammo i want to type !wep bla bla
in !gotoloc cmd:they say me type /c gotoloc [name] i want to write !gotoloc and if my level isnt big they say me you dont have to use this cmd plzzzzzzzzzzzzzzzz helllllllllppppppppppppppppp
Storm City Owner

Stormcity.smfnew.com

Offline SaFeeR

  • Street Thug
  • *
  • Posts: 37
  • Pawno Scripter
    • View Profile
    • PaK-ServeR Website
Re: i need some cmd for gups
« Reply #1 on: January 07, 2012, 06:05:38 pm »
hmmmm
i cant solve getcar but take this cmds
Code: [Select]
if (strcmp(cmd, "heal", true) == 0)
   {
       tmp = strtok(cmdtext, idx);
      SetPlayerHealth(playerid,100);
      SendClientMessage(playerid,0xAAAAAA,"[SUCCESS]: Health 100%");
      return 1;
   }
Code: [Select]
else if (strcmp(cmd, "fix", true) == 0)
   {
       tmp = strtok(cmdtext, idx);
      SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
      SendClientMessage(playerid,0xAAAAAA,"[SUCCESS]: Your Car Is Fixed");
      return 1;
   }
Code: [Select]
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;
}
If You Like My Scripting Like My Page


Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: i need some cmd for gups
« Reply #2 on: January 07, 2012, 06:28:28 pm »
safeer thanks man
Storm City Owner

Stormcity.smfnew.com

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: i need some cmd for gups
« Reply #3 on: January 07, 2012, 06:29:25 pm »
but i need also gotoloc cmd
Storm City Owner

Stormcity.smfnew.com

Offline sskritch

  • Street Thug
  • *
  • Posts: 4
    • View Profile
Re: i need some cmd for gups
« Reply #4 on: January 07, 2012, 07:57:18 pm »
to safer SaFeeR:
**************THANKS for urs answer



do u post a !getcar script ? where please?








to  jimmy:
*********are u sure he  post a !getcar script ? where?
« Last Edit: January 07, 2012, 08:13:37 pm by sskritch »

Offline SaFeeR

  • Street Thug
  • *
  • Posts: 37
  • Pawno Scripter
    • View Profile
    • PaK-ServeR Website
Re: i need some cmd for gups
« Reply #5 on: January 07, 2012, 08:27:20 pm »
to safer SaFeeR:
**************THANKS for urs answer



do u post a !getcar script ? where please?








to  jimmy:
*********are u sure he  post a !getcar script ? where?
sorry bro but i get some problem
but i m working on it
INSHALLAH ill give u !getcar cmd on 22 of this month
If You Like My Scripting Like My Page


Offline SaFeeR

  • Street Thug
  • *
  • Posts: 37
  • Pawno Scripter
    • View Profile
    • PaK-ServeR Website
Re: i need some cmd for gups
« Reply #6 on: January 07, 2012, 08:28:19 pm »
here is !gotoloc cmd
and !saveloc added
Code: [Select]
else if ( strcmp( cmd, "!gotoloc", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !gotoloc [Name]" );
else
{
    new splitx[ 3 ][ 128 ], szMsg[ 128 ];
    if ( !IsLocationExist( tmp ) )
{
    format( szMsg, sizeof( szMsg ), "Location:[ %s ] does not exist.", tmp );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
return 1;
    }
    split( dini_Get( "/SavedLocations/Locations.ini", tmp ), splitx, ' ' );

    SetPlayerPos( playerid, floatstr( splitx[ 0 ] ), floatstr( splitx[ 1 ] ), floatstr( splitx[ 2 ] ), 0, 0 );
    format( szMsg, sizeof( szMsg ), "Teleporting to location:[ %s ]", tmp );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
}
return 1;
       }
Code: [Select]
else if ( strcmp( cmd, "!saveloc", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !saveloc [Name]" );
else
{
new szMsg[ 128 ], axcont[ 128 ], Float:x, Float:y, Float:z;
GetPlayerPos( playerid, x, y, z );

    format( axcont, 128, "%.5f %.5f %.5f", x, y, z );
    dini_Set( "/SavedLocations/Locations.ini", tmp, axcont );

    format( szMsg, sizeof( szMsg ), "Location saved as:[ %s ]", tmp );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
}
return 1;
    }
« Last Edit: January 08, 2012, 01:25:00 pm by SaFeeR »
If You Like My Scripting Like My Page


Offline sskritch

  • Street Thug
  • *
  • Posts: 4
    • View Profile
Re: i need some cmd for gups
« Reply #7 on: January 07, 2012, 08:59:53 pm »
"sorry bro" -------- ^^ np ^^ :-)


THANKS FOR SHARING anyway. (you rockkk)
« Last Edit: January 07, 2012, 09:01:58 pm by sskritch »

Offline DilsonTB

  • Made Man
  • ***
  • Posts: 140
  • VC:MP Developer. & SA:MP Currently Developer
    • View Profile
Re: i need some cmd for gups
« Reply #8 on: January 07, 2012, 09:09:35 pm »
I have notice that Leeter were right cuz YOU ONLY WANNA COPY AND PASTE YOU DONT WANNA LEARN YOU ONLY WANT TO COPY AND PASTE
_______________________________________________
¬ VC:MP Squirrel Developer.
¬ VC:MP pawno Developer.
¬ SA:MP Developer.
¬
¬ Actually developing " San Fierro Roleplay - Latino ", with
my beta team testers, Mapper + Scripter ( me ), 18,000
lines, and is 34% finished. hope to finish it in 4 Or 3 Months.

- MYSQL FULL BASED.
- PCU.
_______________________________________________

Offline sskritch

  • Street Thug
  • *
  • Posts: 4
    • View Profile
Re: i need some cmd for gups
« Reply #9 on: January 07, 2012, 09:54:23 pm »
sujet: please go out ... DilsonTB !

!!!I HAVE NOTICID DAT U LIKE JOKE... WITH PPL , (ITS NOT URS BISENES)!!!

ps: couldly we need a mod here cause off DilsonTB who talk for nothing ... and who insult ppl ...




conclusion: 'sory'(for 'cry') but , 'kids' ... who ruin the fun ... shouldn't be allowed anywhere ... (& , anyway ... this guy''DilsonTB'' isnt constructive.) [couldly ... ppl reading forums dont like wast hes time with useless comments ... , he are looking for the best ... , ^ its just  me opinion ^]
« Last Edit: January 07, 2012, 11:09:46 pm by sskritch »