can rob businesses now
This commit is contained in:
parent
9264220923
commit
4491fae0fd
File diff suppressed because it is too large
Load Diff
@ -164,6 +164,7 @@
|
||||
#define DIALOG_AIRPORT 1153
|
||||
#define DIALOG_CASINO_BAR 1154
|
||||
#define DIALOG_ACC_EMAIL 1155
|
||||
#define DIALOG_BUSINESS_SECURITY 1156
|
||||
|
||||
/* ** Hooks ** */
|
||||
hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
|
||||
|
@ -37,8 +37,8 @@ hook OnGameModeInit( )
|
||||
// Robbery Info
|
||||
CreateRobberyNPC( "Visage Cashier", 2500, 2601.9226, 1567.5959, 1508.3521, 0.0, 11, VISAGE_WORLD ); // Mafia
|
||||
CreateRobberyNPC( "Visage Cashier", 2500, 2607.0059, 1567.5959, 1508.3521, 0.0, 172, VISAGE_WORLD ); // Mafia
|
||||
CreateRobberyCheckpoint( "Visage Casino - Safe 1", 4000, 2609.208984, 1566.640014, 1507.802001, -90.00000, 79 );
|
||||
CreateRobberyCheckpoint( "Visage Casino - Safe 2", 4000, 2609.208984, 1565.798950, 1507.802001, -90.00000, 79 );
|
||||
CreateRobberyCheckpoint( "Visage Casino - Safe 1", 4000, 2609.208984, 1566.640014, 1507.802001, -90.00000, VISAGE_WORLD );
|
||||
CreateRobberyCheckpoint( "Visage Casino - Safe 2", 4000, 2609.208984, 1565.798950, 1507.802001, -90.00000, VISAGE_WORLD );
|
||||
|
||||
// Create ATM
|
||||
CreateATM( 2557.137939, 1576.037963, 1508.003051, -90.000000 );
|
||||
|
@ -16,6 +16,7 @@
|
||||
#define SendUsage(%0,%1) (SendClientMessageFormatted(%0,-1,"{FFAF00}[USAGE]{FFFFFF} " # %1))
|
||||
#define SendError(%0,%1) (SendClientMessageFormatted(%0,-1,"{F81414}[ERROR]{FFFFFF} " # %1))
|
||||
#define SendServerMessage(%0,%1) (SendClientMessageFormatted(%0,-1,"{C0C0C0}[SERVER]{FFFFFF} " # %1))
|
||||
#define SendClientMessageToAllFormatted(%0) (SendClientMessageFormatted(INVALID_PLAYER_ID, %0))
|
||||
#define sprintf(%1) (format(g_szSprintfBuffer, sizeof(g_szSprintfBuffer), %1), g_szSprintfBuffer)
|
||||
#define SetObjectInvisible(%0) (SetDynamicObjectMaterialText(%0, 0, " ", 140, "Arial", 64, 1, -32256, 0, 1))
|
||||
#define fRandomEx(%1,%2) (floatrandom(%2-%1)+%1)
|
||||
@ -49,12 +50,12 @@ stock SendClientMessageFormatted( playerid, colour, format[ ], va_args<> )
|
||||
|
||||
va_format( out, sizeof( out ), format, va_start<3> );
|
||||
|
||||
if ( !IsPlayerConnected( playerid ) ) {
|
||||
SendClientMessageToAll( colour, out );
|
||||
return 0;
|
||||
}
|
||||
if ( playerid == INVALID_PLAYER_ID ) {
|
||||
return SendClientMessageToAll( colour, out );
|
||||
} else {
|
||||
return SendClientMessage( playerid, colour, out );
|
||||
}
|
||||
}
|
||||
|
||||
// purpose: trim a string
|
||||
stock trimString( strSrc[ ] )
|
||||
|
@ -1,5 +1,8 @@
|
||||
(+) Implements cash cards. A way for prizes to be given out to members easily. Use /cashcard to redeem.
|
||||
(+) Businesses can now be robbed by burglars. Businesses must purchase security upgrades to prevent theft!!!
|
||||
(+) Adds Trucking to the San Fierro GPS.
|
||||
(/) Roadblocks and spike strips can be created by players, and won't be removed unless they are not near them.
|
||||
(/) /drball will only remove your roadblocks (unless you're an admin).
|
||||
(/) You need at least 250 score to use "/setspike" and "/crb".
|
||||
(/) Safes now open more smoothly, and look visually more appealing!
|
||||
(/) "/richlist" shows all administrators.
|
||||
|
Loading…
Reference in New Issue
Block a user