25.04.2014, 23:49
(
Последний раз редактировалось Legions4i20; 01.09.2014 в 11:53.
)
#SEM IMAGENS!#
pawn Код:
#include <a_samp>
#include <zcmd>
#define D_VEHICLE_MODS 01245
#define script "[.]Legions4i20[.]"
#define Mapp "AlieN_"
#define skype_r "Robert-4i20"
#define skype_a "adrianogamerbr"
new
Trat [ 13 ] ,
Kar [ 7 ] ,
objectid [ 34 ] ,
Free [ 11 ] ,
Taxx [ 8 ] ,
Shark [ 6 ] ,
Float:X ,
Float:Y ,
Float:Z ,
Float:A ,
bool:Check[MAX_PLAYERS] = false ,
VehicleCustom[MAX_PLAYERS]
;
forward cvKart( playerid );
forward cvPatrola( playerid );
forward cvTrator( playerid );
forward cvBatiman( playerid );
forward cvTaxi( playerid );
forward cvShark( playerid );
public OnFilterScriptInit(){
printf("\n =-=-=-=-=-=-=-=-= %s skype : %s", script, skype_r);
printf(" =-=-=-=-=-=-=-=-= %s skype : %s \n", Mapp, skype_a);
return 1;
}
public OnFilterScriptExit(){
return 1;
}
CMD:vlista( playerid, params[] ){
if(!Check[playerid]){
Check[playerid] = true;
ShowPlayerDialog( playerid, D_VEHICLE_MODS, DIALOG_STYLE_LIST,
"{1E90FF}Veiculos Unicos",
"\t\t\t{00FFFF}Trator\n\n\
\t\t\t{00FFFF}Patrola\n\n\
\t\t\t{00FFFF}Kart\n\n\
\t\t\t{00FFFF}Batman\n\n\
\t\t\t{00FFFF}Taxi\n\
\t\t\t{00FFFF}Shark\n",
"Confirmar",
"X"
);
}
else SendClientMessage( playerid, -1, "Vocк ja tem um vehicle criado, use /delc para apaga-lo!");
return 1;
}
CMD:delc( playerid, params[] ){
Check[playerid] = false;
for(new i; i < 13; i++)
{
DestroyObject( Trat[ i ]);
}
for(new k; k < 7; k++)
{
DestroyObject( Kar[ k ]);
}
for(new o; o < 34; o++)
{
DestroyObject( objectid[ o ]);
}
for(new f; f < 11; f++)
{
DestroyObject( Free[ f ]);
}
for(new t; t < 8; t++)
{
DestroyObject( Taxx[ t ]);
}
for(new s; s < 6; s++)
{
DestroyObject( Shark[ s ]);
}
for(new o; o < MAX_PLAYERS; o++)
{
DestroyVehicle( VehicleCustom[o] );
}
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == D_VEHICLE_MODS)
{
if(response)
{
switch(listitem)
{
case 0:{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
VehicleCustom[playerid] = CreateVehicle(556, X, Y, Z, A, -1, -1, 30000);
PutPlayerInVehicle(playerid, VehicleCustom[playerid], 0);
SetTimerEx("cvTrator", 200, false, "i", playerid);
}
case 1:{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
VehicleCustom[playerid] = CreateVehicle(568, X, Y, Z, A, -1, -1, 30000);
PutPlayerInVehicle(playerid, VehicleCustom[playerid], 0);
SetTimerEx("cvPatrola", 200, false, "i", playerid);
}
case 2:{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
VehicleCustom[playerid] = CreateVehicle(571, X, Y, Z, A, -1, -1, 30000);
PutPlayerInVehicle(playerid, VehicleCustom[playerid], 0);
SetTimerEx("cvKart", 200, false, "i", playerid);
}
case 3:{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
VehicleCustom[playerid] = CreateVehicle(463, X, Y, Z, A, -1, -1, 30000);
PutPlayerInVehicle(playerid, VehicleCustom[playerid], 0);
SetTimerEx("cvBatiman", 200, false, "i", playerid);
}
case 4:{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
VehicleCustom[playerid] = CreateVehicle(603, X, Y, Z, A, -1, -1, 30000);
PutPlayerInVehicle(playerid, VehicleCustom[playerid], 0);
SetTimerEx("cvTaxi", 200, false, "i", playerid);
}
case 5:{
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
VehicleCustom[playerid] = CreateVehicle(485, X, Y, Z, A, -1, -1, 30000);
PutPlayerInVehicle(playerid, VehicleCustom[playerid], 0);
SetTimerEx("cvShark", 200, false, "i", playerid);
}
}
}
else SendClientMessage( playerid, -1, "Dialog Fechado");
}
return 1;
}
public cvTrator( playerid ){
new vehicleid = GetPlayerVehicleID(playerid);
new Float:ObPos[ 4 ];
GetPlayerPos( playerid, ObPos[0], ObPos[1], ObPos[2] );
Trat[ 0 ] = CreateObject(13649, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 1 ] = CreateObject(13649, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 2 ] = CreateObject(13649, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 3 ] = CreateObject(13649, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 4 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 5 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 6 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 7 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 8 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 9 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 10 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 11 ] = CreateObject(847, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Trat[ 12 ] = CreateObject(3862, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
AttachObjectToVehicle(Trat[ 0 ], vehicleid, -1.699998, 2.750015, 1.094999, 0.000000, -90.047920, 0.000000); //Object Model: 13649 |
AttachObjectToVehicle(Trat[ 1 ], vehicleid, 1.704998, 2.750015, 1.094999, 0.000000, -90.047966, 179.995651); //Object Model: 13649 |
AttachObjectToVehicle(Trat[ 2 ], vehicleid, -1.699497, -2.915019, 1.094999, 0.000000, -90.047988, 0.000000); //Object Model: 13649 |
AttachObjectToVehicle(Trat[ 3 ], vehicleid, 1.704497, -2.915018, 1.094998, 0.000000, 90.047966, 0.000000); //Object Model: 13649 |
AttachObjectToVehicle(Trat[ 4 ], vehicleid, 2.500009, 1.724998, 1.574998, 0.000000, 90.047966, 90.047943); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 5 ], vehicleid, 2.115000, -1.889998, 1.574998, 0.000000, 90.047943, -90.047943); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 6 ], vehicleid, 2.135001, 1.724998, 0.908999, 0.000000, 270.043975, -90.047966); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 7 ], vehicleid, 2.485009, -1.889998, 0.908999, 0.000000, 270.043914, 90.047966); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 8 ], vehicleid, -2.500009, -1.889998, 1.574998, 0.000000, 90.047920, -90.047943); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 9 ], vehicleid, -2.135001, -1.889998, 0.909999, 0.000000, -90.047988, 90.047920); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 10 ], vehicleid, -2.155001, 1.724998, 1.574998, 0.000000, 90.047966, 90.047966); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 11 ], vehicleid, -2.515010, 1.724998, 0.904999, 0.000000, -90.047966, -90.047988); //Object Model: 847 |
AttachObjectToVehicle(Trat[ 12 ], vehicleid, 0.000000, -2.395007, 3.740038, 0.000000, 0.000000, 180.096023); //Object Model: 3862 |
return 1;
}
public cvPatrola( playerid ){
new vehicleid = GetPlayerVehicleID(playerid);
new Float:ObPos[ 4 ];
GetPlayerPos( playerid, ObPos[0], ObPos[1], ObPos[2] );
objectid[ 0 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 1 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 2 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 3 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 4 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 5 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 6 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 7 ] = CreateObject(958, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 8 ] = CreateObject(958, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 9 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 10 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 11 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 12 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 13 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 14 ] = CreateObject(2917, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 15 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 16 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 17 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 18 ] = CreateObject(1079, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 19 ] = CreateObject(1079, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 20 ] = CreateObject(1079, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 21 ] = CreateObject(1079, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 22 ] = CreateObject(1079, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 23 ] = CreateObject(1079, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 24 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 25 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 26 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 27 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 28 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 29 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 30 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 31 ] = CreateObject(2960, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
objectid[ 32 ] = CreateObject(1392, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
AttachObjectToVehicle(objectid[ 0 ], vehicleid, -0.000000, 1.804998, 0.820498, 0.000000, -90.047966, -90.047943); //Object Model: 1392 | alien_
AttachObjectToVehicle(objectid[ 1 ], vehicleid, 1.024999, 1.157498, 0.838001, 0.000000, 90.047920, 0.000000); //Object Model: 1392 | alien_
AttachObjectToVehicle(objectid[ 2 ], vehicleid, -1.005499, 1.157498, 0.820501, 0.000000, -90.047943, 0.000000); //Object Model: 1392 | alien_
AttachObjectToVehicle(objectid[ 3 ], vehicleid, 0.589999, -1.069999, 1.624998, 0.000000, 0.000000, 90.047897); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 4 ], vehicleid, -0.549999, -1.070498, 1.626498, 0.000000, 0.000000, 90.047943); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 5 ], vehicleid, -0.549999, -1.070999, -0.499999, 0.000000, 0.000000, 90.048080); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 6 ], vehicleid, 0.589999, -1.069999, -0.499999, 0.000000, 0.000000, 90.039108); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 7 ], vehicleid, 0.684999, -1.164999, 0.734999, 0.000000, 0.000000, -90.047874); //Object Model: 958 | alien_
AttachObjectToVehicle(objectid[ 8 ], vehicleid, -0.689999, -1.159999, 0.729999, 0.000000, 0.000000, 89.043197); //Object Model: 958 | alien_
AttachObjectToVehicle(objectid[ 9 ], vehicleid, -0.000000, 4.065045, 0.799999, 0.000000, 0.000000, 90.047943); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 10 ], vehicleid, 0.000000, 7.563626, 0.749999, 0.000000, 0.000000, 90.048034); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 11 ], vehicleid, 0.000000, 11.035204, 0.749999, 0.000000, 0.000000, 90.047966); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 12 ], vehicleid, 0.000000, 12.480237, 0.000000, -89.947463, -0.000000, 0.000000); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 13 ], vehicleid, 0.319999, 4.070045, 0.749999, 0.000000, 0.000000, 94.972480); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 14 ], vehicleid, -0.319999, 4.075045, 0.749999, 0.000000, -0.000000, 86.228935); //Object Model: 2917 | alien_
AttachObjectToVehicle(objectid[ 15 ], vehicleid, 1.024496, 1.169999, 3.215026, 0.000000, 90.047966, 0.022497); //Object Model: 1392 | alien_
AttachObjectToVehicle(objectid[ 16 ], vehicleid, -1.004999, 1.189999, 3.220026, 0.000000, 90.047966, 180.096389); //Object Model: 1392 | alien_
AttachObjectToVehicle(objectid[ 17 ], vehicleid, -0.000000, 1.814998, 3.220026, 0.000000, 90.047943, 90.047966); //Object Model: 1392 | alien_
AttachObjectToVehicle(objectid[ 18 ], vehicleid, 1.454998, 0.719999, -0.140000, 0.000000, 0.000000, 0.000000); //Object Model: 1079 | alien_
AttachObjectToVehicle(objectid[ 19 ], vehicleid, 1.464998, 1.739998, -0.140000, 0.000000, 0.000000, 0.000000); //Object Model: 1079 | alien_
AttachObjectToVehicle(objectid[ 20 ], vehicleid, 2.285004, 12.785244, -0.299999, 0.000000, 0.000000, 0.000000); //Object Model: 1079 | alien_
AttachObjectToVehicle(objectid[ 21 ], vehicleid, -1.444998, 0.704999, -0.140000, 0.000000, 0.000000, 179.995529); //Object Model: 1079 | alien_
AttachObjectToVehicle(objectid[ 22 ], vehicleid, -1.444998, 1.759998, -0.140000, 0.000000, 0.000000, 179.995773); //Object Model: 1079 | alien_
AttachObjectToVehicle(objectid[ 23 ], vehicleid, -2.297504, 12.780244, -0.299999, 0.000000, 0.000000, 179.995651); //Object Model: 1079 | alien_
AttachObjectToVehicle(objectid[ 24 ], vehicleid, -0.409999, 10.050182, 1.064999, -89.947456, -0.000000, 90.047966); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 25 ], vehicleid, 0.404999, 10.050182, 1.069999, -89.947486, -0.000000, -90.047943); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 26 ], vehicleid, -0.399999, 5.440076, 1.069999, -89.947471, 0.000000, 90.047943); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 27 ], vehicleid, 0.404999, 5.455077, 1.069999, -89.947463, 0.000000, -90.047943); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 28 ], vehicleid, 0.000000, 5.945088, 0.309999, -95.474937, 0.000000, -10.050001); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 29 ], vehicleid, 0.000000, 5.970088, -0.079999, -76.379989, 0.000000, -10.050001); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 30 ], vehicleid, 0.000000, 6.080091, -0.374999, -67.335014, 0.000000, -10.050001); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 31 ], vehicleid, 0.000000, 6.210094, -0.594999, -56.280014, 0.000000, -10.050001); //Object Model: 2960 | alien_
AttachObjectToVehicle(objectid[ 32 ], vehicleid, 0.000000, 0.534999, 3.220026, 0.000000, 90.047943, -90.047920); //Object Model: 1392 | alien_
return 1;
}
public cvKart( playerid ){
new vehicleid = GetPlayerVehicleID(playerid);
new Float:ObPos[ 4 ];
GetPlayerPos( playerid, ObPos[0], ObPos[1], ObPos[2] );
Kar[ 0 ] = CreateObject(1163, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Kar[ 1 ] = CreateObject(1164, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Kar[ 2 ] = CreateObject(1116, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Kar[ 3 ] = CreateObject(1116, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Kar[ 4 ] = CreateObject(2921, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Kar[ 5 ] = CreateObject(2921, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Kar[ 6 ] = CreateObject(1142, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
AttachObjectToVehicle(Kar[ 0 ], vehicleid, 0.000000, -0.849999, 0.329999, 0.000000, 0.000000, 0.000000); //Object Model: 1163 |
AttachObjectToVehicle(Kar[ 1 ], vehicleid, 0.000000, 0.824999, -0.100000, 0.000000, 0.000000, 0.000000); //Object Model: 1164 |
AttachObjectToVehicle(Kar[ 2 ], vehicleid, 0.000000, 0.979999, -0.384999, 25.124994, -0.000000, 0.000000); //Object Model: 1116 |
AttachObjectToVehicle(Kar[ 3 ], vehicleid, 0.000000, -0.759999, -0.229999, 0.000000, 0.000000, 0.000000); //Object Model: 1116 |
AttachObjectToVehicle(Kar[ 4 ], vehicleid, 0.414999, -0.964999, 0.307999, 0.000000, 0.000000, 125.222846); //Object Model: 2921 |
AttachObjectToVehicle(Kar[ 5 ], vehicleid, -0.819999, -0.968498, 0.307999, 0.000000, 0.000000, 125.222869); //Object Model: 2921 |
AttachObjectToVehicle(Kar[ 6 ], vehicleid, 0.000000, -0.439999, -0.054999, -52.260009, 0.000000, -0.000001); //Object Model: 1142 |
return 1;
}
public cvBatiman( playerid ){
new vehicleid = GetPlayerVehicleID(playerid);
new Float:ObPos[ 4 ];
GetPlayerPos( playerid, ObPos[0], ObPos[1], ObPos[2] );
ChangeVehicleColor(vehicleid, 127, 127);
SetObjectMaterial(Free[ 4 ], 0, 19341, "egg_texts", "easter_egg01", 0x000000FF);
SetObjectMaterial(Free[ 5 ], 0, 19341, "egg_texts", "easter_egg01", 0x000000FF);
Free[ 0 ] = CreateObject(1162, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 1 ] = CreateObject(1073, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 2 ] = CreateObject(1073, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 3 ] = CreateObject(1073, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 4 ] = CreateObject(1164, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 5 ] = CreateObject(1164, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 6 ] = CreateObject(1073, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 7 ] = CreateObject(1073, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 8 ] = CreateObject(1073, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 9 ] = CreateObject(2985, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Free[ 10 ] = CreateObject(2985, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
AttachObjectToVehicle(Free[ 0 ], vehicleid, 0.000000, 0.115000, 0.944999, 0.000000, -181.380126, 1.004999); //Object Model: 1162 |
AttachObjectToVehicle(Free[ 1 ], vehicleid, 0.010000, -0.929999, -0.085000, 0.000000, 0.000000, 0.000000); //Object Model: 1073 |
AttachObjectToVehicle(Free[ 2 ], vehicleid, 0.239999, -0.929999, -0.085000, 0.000000, 0.000000, 0.000000); //Object Model: 1073 |
AttachObjectToVehicle(Free[ 3 ], vehicleid, -0.224999, -0.939999, -0.079999, -361.800964, 180.270126, 0.000000); //Object Model: 1073 |
AttachObjectToVehicle(Free[ 4 ], vehicleid, -0.364999, 1.024999, 0.474999, -173.865051, 158.940261, 87.434959); //Object Model: 1164 |
AttachObjectToVehicle(Free[ 5 ], vehicleid, 0.404999, 1.024999, 0.479999, -173.865051, 201.150466, 269.340515); //Object Model: 1164 |
AttachObjectToVehicle(Free[ 6 ], vehicleid, 0.000000, 2.150001, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 1073 |
AttachObjectToVehicle(Free[ 7 ], vehicleid, 0.254999, 2.150001, 0.000000, 0.000000, 0.000000, 0.000000); //Object Model: 1073 |
AttachObjectToVehicle(Free[ 8 ], vehicleid, -0.259999, 2.150001, 0.000000, 0.000000, 0.000000, 179.895095); //Object Model: 1073 |
AttachObjectToVehicle(Free[ 9 ], vehicleid, 0.449999, 2.130001, 0.000000, -90.389984, -4.020000, 92.459945); //Object Model: 2985 |
AttachObjectToVehicle(Free[ 10 ], vehicleid, -0.464999, 2.080000, -0.034999, 92.459945, -1.005000, 91.244941); //Object Model: 2985 |
return 1;
}
public cvTaxi( playerid ){
new vehicleid = GetPlayerVehicleID(playerid);
new Float:ObPos[ 4 ];
GetPlayerPos( playerid, ObPos[0], ObPos[1], ObPos[2] );
ChangeVehicleColor(vehicleid, 127, 127);
Taxx[ 0 ] = CreateObject(2985, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 1 ] = CreateObject(19132, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 2 ] = CreateObject(19308, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 3 ] = CreateObject(19316, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 4 ] = CreateObject(19320, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 5 ] = CreateObject(19320, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 6 ] = CreateObject(19341, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Taxx[ 7 ] = CreateObject(19197, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
AttachObjectToVehicle(Taxx[ 0 ], vehicleid, 0.784999, 1.394998, -0.709999, 0.000000, 0.000000, 90.449951); //Object Model: 2985 |
AttachObjectToVehicle(Taxx[ 1 ], vehicleid, 1.169999, -1.009999, -0.025000, -91.454948, -1.005000, 181.905105); //Object Model: 19132 |
AttachObjectToVehicle(Taxx[ 2 ], vehicleid, 0.000000, -0.414999, 0.754999, -0.000000, -1.005000, 270.345520); //Object Model: 19308 |
AttachObjectToVehicle(Taxx[ 3 ], vehicleid, 0.000000, -3.350029, 2.670013, 0.000000, 0.000000, 0.000000); //Object Model: 19316 |
AttachObjectToVehicle(Taxx[ 4 ], vehicleid, 0.000000, -2.930019, 2.375006, 0.000000, 0.000000, 0.000000); //Object Model: 19320 |
AttachObjectToVehicle(Taxx[ 5 ], vehicleid, 0.000000, -5.170070, 2.395007, 0.000000, 0.000000, 0.000000); //Object Model: 19320 |
AttachObjectToVehicle(Taxx[ 6 ], vehicleid, 0.000000, -5.170070, 2.835017, 0.000000, 0.000000, 0.000000); //Object Model: 19341 |
AttachObjectToVehicle(Taxx[ 7 ], vehicleid, 0.065000, -0.424999, 2.105000, 0.000000, 0.000000, 0.000000); //Object Model: 19197 |
return 1;
}
public cvShark( playerid ){
new vehicleid = GetPlayerVehicleID(playerid);
new Float:ObPos[ 4 ];
GetPlayerPos( playerid, ObPos[0], ObPos[1], ObPos[2] );
Shark[ 0 ] = CreateObject(1608, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Shark[ 1 ] = CreateObject(9831, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Shark[ 2 ] = CreateObject(9831, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Shark[ 3 ] = CreateObject(9831, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Shark[ 4 ] = CreateObject(9831, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
Shark[ 5 ] = CreateObject(9831, ObPos[ 0 ], ObPos[ 2 ], ObPos[ 3 ], 0, 0, 0, 0.0);
AttachObjectToVehicle(Shark[ 0 ], vehicleid, 0.000000, -2.835017, 0.369999, 0.000000, 0.000000, 0.000000); //Object Model: 1608 |
AttachObjectToVehicle(Shark[ 1 ], vehicleid, 0.619999, 1.909998, 0.369999, 0.000000, 0.000000, 0.000000); //Object Model: 9831 |
AttachObjectToVehicle(Shark[ 2 ], vehicleid, 0.619999, 1.909998, 0.110000, 0.000000, 0.000000, 0.000000); //Object Model: 9831 |
AttachObjectToVehicle(Shark[ 3 ], vehicleid, 0.619999, 1.909998, -0.149999, 0.000000, 0.000000, 0.000000); //Object Model: 9831 |
AttachObjectToVehicle(Shark[ 4 ], vehicleid, 0.619999, 1.594998, -0.364999, 0.000000, 0.000000, 0.000000); //Object Model: 9831 |
AttachObjectToVehicle(Shark[ 5 ], vehicleid, 0.619999, 1.484998, -0.779999, 0.000000, 0.000000, 0.000000); //Object Model: 9831 |
return 1;
}