[FilterScript] Awesome robbery & sell CAR
#1

ScreenShots
damn Im so lazy to upload screenshots
But I'm very sure you'll like it
Teleport To the Black Market
/blackmarket
PHP код:
// 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;

Reply
#2

Nice one
Reply
#3

Quote:
Originally Posted by 1Deagle1
Посмотреть сообщение
Nice one
THX
Reply
#4

good
Reply
#5

Good Job !
Reply
#6

Good Job
Reply
#7

Thx all ^_^
Reply
#8

Nice One
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)