SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 29/08/2015, 04:40 AM   #1
DarkLight
Big Clucker
 
DarkLight's Avatar
 
Join Date: Aug 2015
Location: SetPlayerPos(DarkLight,Maroc);
Posts: 132
Reputation: 68
Cool Awesome robbery & sell CAR

ScreenShots
damn Im so lazy to upload screenshots
But I'm very sure you'll like it
Teleport To the Black Market
/blackmarket
PHP Code:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define green                    0x33FF33AA
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" ROB & sell car By Dark_Light           ");
    print(
"--------------------------------------\n");
    return 
1;
}

public 
OnFilterScriptExit()
{
    
Create3DTextLabel("rob a car and\n sell it here"green, -1933.1218562.378435.863050.000);
    
CreateObject(11326, -1948.19324558.2703935.81870,   0.000000.000000.00000);
    return 
1;
}
#else
#endif
public OnPlayerConnect(playerid)
{
 
Create3DTextLabel("rob a car and\n sell it here"green, -1933.1218562.378435.863050.000);
 
CreateObject(11326, -1948.19324558.2703935.81870,   0.000000.000000.00000);
 
SetPlayerCheckpoint(playerid,-1933.1218562.378435.8630,5);
 return 
1;
}
public 
OnPlayerEnterCheckpoint(playerid)
{
    new 
rcash random(10000) ,string[128],rwanted random(6);
    if(
IsPlayerInRangeOfPoint(playerid,5,-1933.1218562.378435.8630)){
    } else return 
SendClientMessage(playerid,-1,"Error: Lblasa machi hia | enta be3id 3ani lmakan");
    if (
IsPlayerInAnyVehicle(playerid)) {
    
GivePlayerMoney(playeridrcash);
    
Create3DTextLabel("rob a car and\n sell it here"green, -1933.1218562.378435.86300.000);
    
CreateObject(11326, -1948.19324558.2703935.81870,   0.000000.000000.00000);
    
format(string,sizeof(string),"You have Got (%d$)"rcash);
    
SendClientMessage(playerid,green,string);
    
SendClientMessage(playerid,-1,"Error: You are not in a vehicle");
    
SetPlayerWantedLevel(playeridGetPlayerWantedLevel(playerid) +rwanted);
    
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),10);
    } else return 
SendClientMessage(playerid,-1,"Error: You are not in a vehicle");
    return 
1;
}
public 
OnPlayerCommandText(playerid,cmdtext[])
{
    if(!
strcmp(cmdtext,"/blackmarket",true))
    {
    
SetPlayerPos(playerid, -1933.1465,580.0641,35.8030);
    return 
1;
    }
    return 
0;

DarkLight is offline   Reply With Quote
Old 29/08/2015, 05:14 AM   #2
Variable™
Gangsta
 
Variable™'s Avatar
 
Join Date: Jul 2015
Location: Somewhere...
Posts: 678
Reputation: 128
Default Re: Awesome robbery & sell CAR

Nice one
__________________
DW4 Community

Variable™ is offline   Reply With Quote
Old 29/08/2015, 11:36 AM   #3
DarkLight
Big Clucker
 
DarkLight's Avatar
 
Join Date: Aug 2015
Location: SetPlayerPos(DarkLight,Maroc);
Posts: 132
Reputation: 68
Default Re: Awesome robbery & sell CAR

Quote:
Originally Posted by 1Deagle1 View Post
Nice one
THX
DarkLight is offline   Reply With Quote
Old 29/08/2015, 11:37 AM   #4
ahameed4755
Huge Clucker
 
ahameed4755's Avatar
 
Join Date: Jun 2015
Location: Earth
Posts: 224
Reputation: 12
Default Re: Awesome robbery & sell CAR

good
__________________
No signature..
ahameed4755 is offline   Reply With Quote
Old 29/08/2015, 11:41 AM   #5
khRamin78
Big Clucker
 
khRamin78's Avatar
 
Join Date: Jun 2015
Posts: 186
Reputation: 19
Default Re: Awesome robbery & sell CAR

Good Job !
__________________
My Work's :
khRamin78 is offline   Reply With Quote
Old 29/08/2015, 11:44 AM   #6
anassmaroc
Huge Clucker
 
anassmaroc's Avatar
 
Join Date: Dec 2013
Location: France,Paris
Posts: 197
Reputation: 9
Default Re: Awesome robbery & sell CAR

Good Job
__________________
anassmaroc is offline   Reply With Quote
Old 29/08/2015, 12:22 PM   #7
DarkLight
Big Clucker
 
DarkLight's Avatar
 
Join Date: Aug 2015
Location: SetPlayerPos(DarkLight,Maroc);
Posts: 132
Reputation: 68
Default Re: Awesome robbery & sell CAR

Thx all ^_^
DarkLight is offline   Reply With Quote
Old 11/09/2015, 10:46 AM   #8
GreenEye
Banned
 
Join Date: Aug 2015
Posts: 10
Reputation: 4
Default Re: Awesome robbery & sell CAR

Nice One
GreenEye is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How much could I sell this for? ross8839 Everything and Nothing 12 14/01/2013 06:25 PM
sell pot Tanush123 Help Archive 5 21/08/2011 02:22 AM
[Map] Abandoned Airport (/aa) its awesome but not awesome screenies just try it jejemonerz123 Maps 2 06/07/2011 12:29 PM
car sell Headshot1108 Help Archive 2 17/02/2010 08:41 PM


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.