Author Topic: i need some cmds  (Read 2878 times)

0 Members and 1 Guest are viewing this topic.

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
i need some cmds
« on: January 22, 2012, 11:48:03 pm »
 hey guys i need some cmds for gups !givecash , !lockcar , !unlockcar , !healp [PLAYER] to heal a player , !getcar , !ff to fix and flip , !spree and !myspree to see spree and !topkiller plzzz help me i want to imporve my scripts
Storm City Owner

Stormcity.smfnew.com

Offline Nadeem

  • Made Man
  • ***
  • Posts: 117
    • View Profile
    • The Zetz
Re: i need some cmds
« Reply #1 on: January 23, 2012, 01:26:04 pm »
No body can give you the whole scripts

Offline SaFeeR

  • Street Thug
  • *
  • Posts: 37
  • Pawno Scripter
    • View Profile
    • PaK-ServeR Website
Re: i need some cmds
« Reply #2 on: January 23, 2012, 01:29:48 pm »
take cmds from my script
If You Like My Scripting Like My Page


Offline _xXx_

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: i need some cmds
« Reply #3 on: January 23, 2012, 01:39:00 pm »
this is !lockcar cmd
Code: [Select]
else if ( strcmp( cmd, "!lockcar", true ) == 0 )
{
    tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !lockcar [VehicleID]" );
else if ( !IsVehicleExist( strval( tmp ) ) ) SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Vehicle" );
else if ( !IsVehicleOwnedShared( strval( tmp ), gPlayers[ playerid ] ) ) SendClientMessage( playerid, COLOR_GREEN, "You do not have the keys for that vehicle." );
else
{
format( szMsg, sizeof( szMsg ), "Locking vehicle:[ %d ]", strval( tmp ) );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
SetVehicleDoorsStatus( strval( tmp ), 1 );
}
return 1;
}
this is !unlockcar cmd
Code: [Select]
else if ( strcmp( cmd, "!unlockcar", true ) == 0 )
{
    tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !unlockcar [VehicleID]" );
else if ( !IsVehicleExist( strval( tmp ) ) ) SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Vehicle" );
else if ( !IsVehicleOwnedShared( strval( tmp ), gPlayers[ playerid ] ) ) SendClientMessage( playerid, COLOR_GREEN, "You do not have the keys for that vehicle." );
else
{
format( szMsg, sizeof( szMsg ), "Unlocking vehicle:[ %d ]", strval( tmp ) );
SendClientMessage( playerid, COLOR_GREEN, szMsg );
SetVehicleDoorsStatus( strval( tmp ),0 );
}
return 1;
« Last Edit: January 23, 2012, 01:42:25 pm by _xXx_ »

Offline _xXx_

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: i need some cmds
« Reply #4 on: January 23, 2012, 01:43:23 pm »
get other from other player i gave u this cmds

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: i need some cmds
« Reply #5 on: January 23, 2012, 03:43:11 pm »
thanks SAFEER and XXX ______ u nadeem :P
Storm City Owner

Stormcity.smfnew.com

Offline _xXx_

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: i need some cmds
« Reply #6 on: January 23, 2012, 03:47:38 pm »
no prob