04.05.2014, 15:14
This error m1 v1-17 & I'll take it in Tools Menu, Command, a shortage of N, time is running unmodified But I'm Tools & Downloads İniyo also simply getting off on the character's head .. Thanks .
return 1;
//////////////////////////
if(strcmp(cmdtext, "/m1", true)==0) // Sultan
{
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
LVehicleIDt = CreateVehicle(560,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,LVehicleIDt,0); AddVehicleComponent(LVehicleIDt, 1028); AddVehicleComponent(LVehicleIDt, 1030); AddVehicleComponent(LVehicleIDt, 1031); AddVehicleComponent(LVehicleIDt, 1138); AddVehicleComponent(LVehicleIDt, 1140); AddVehicleComponent(LVehicleIDt, 1170);
AddVehicleComponent(LVehicleIDt, 1028); AddVehicleComponent(LVehicleIDt, 1030); AddVehicleComponent(LVehicleIDt, 1031); AddVehicleComponent(LVehicleIDt, 1138); AddVehicleComponent(LVehicleIDt, 1140); AddVehicleComponent(LVehicleIDt, 1170);
AddVehicleComponent(LVehicleIDt, 1080); AddVehicleComponent(LVehicleIDt, 1086); AddVehicleComponent(LVehicleIDt, 1087); AddVehicleComponent(LVehicleIDt, 1010); PlayerPlaySound(playerid,1133,0.0,0.0,0.0); ChangeVehiclePaintjob(LVehicleIDt,1);
ChangeVehicleColor(LVehicleIDt,166,1);
SetVehicleVirtualWorld(LVehicleIDt, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDt, GetPlayerInterior(playerid));}
return 1; }
/////////////////////////////////////////////////////////////////////////////
if (strcmp("/m2", cmdtext, true) == 0)
{
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
LVehicleIDt = CreateVehicle(560,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,LVehicleIDt,0); AddVehicleComponent(LVehicleIDt, 1028); AddVehicleComponent(LVehicleIDt, 1030); AddVehicleComponent(LVehicleIDt, 1031); AddVehicleComponent(LVehicleIDt, 1138); AddVehicleComponent(LVehicleIDt, 1140); AddVehicleComponent(LVehicleIDt, 1170);
AddVehicleComponent(LVehicleIDt, 1028); AddVehicleComponent(LVehicleIDt, 1030); AddVehicleComponent(LVehicleIDt, 1031); AddVehicleComponent(LVehicleIDt, 1138); AddVehicleComponent(LVehicleIDt, 1140); AddVehicleComponent(LVehicleIDt, 1170);
AddVehicleComponent(LVehicleIDt, 1080); AddVehicleComponent(LVehicleIDt, 1086); AddVehicleComponent(LVehicleIDt, 1087); AddVehicleComponent(LVehicleIDt, 1010); PlayerPlaySound(playerid,1133,0.0,0.0,0.0); ChangeVehiclePaintjob(LVehicleIDt,0);
ChangeVehicleColor(LVehicleIDt,166,1);
SetVehicleVirtualWorld(LVehicleIDt, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDt, GetPlayerInterior(playerid));
}
return 1;
}
//////////////////////////////////////////////////////////////////////////
if(strcmp(cmdtext, "/m3", true)==0) { // Savanna
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(567,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1102); AddVehicleComponent(carid,1129); AddVehicleComponent(carid,1133); AddVehicleComponent(carid,1186); AddVehicleComponent(carid,1188); ChangeVehiclePaintjob(carid,1); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1085); AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1086);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m4", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(559,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1065); AddVehicleComponent(carid,1067); AddVehicleComponent(carid,1162); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,2);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m5", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(565,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1046); AddVehicleComponent(carid,1049); AddVehicleComponent(carid,1053); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,2);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m6", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(558,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1088); AddVehicleComponent(carid,1092); AddVehicleComponent(carid,1139); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,2);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m7", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(561,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1055); AddVehicleComponent(carid,1058); AddVehicleComponent(carid,1064); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m8", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(562,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1034); AddVehicleComponent(carid,1038); AddVehicleComponent(carid,1147); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,2);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m9", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(567,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1102); AddVehicleComponent(carid,1129); AddVehicleComponent(carid,1133); AddVehicleComponent(carid,1186); AddVehicleComponent(carid,1188); ChangeVehiclePaintjob(carid,2); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1085); AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1086);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m10", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(558,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1092); AddVehicleComponent(carid,1166); AddVehicleComponent(carid,1165); AddVehicleComponent(carid,1090);
AddVehicleComponent(carid,1094); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1163);//SPOILER
AddVehicleComponent(carid,1091); ChangeVehiclePaintjob(carid,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m11", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(557,X,Y,Z,Angle,1,1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1081);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m12", true)==0) {
if(IsPlayerInAnyVehicle(playerid)) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
} else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(535,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
ChangeVehiclePaintjob(carid,1); AddVehicleComponent(carid,1109); AddVehicleComponent(carid,1115); AddVehicleComponent(carid,1117); AddVehicleComponent(carid,1073); AddVehicleComponent(carid,1010);
AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1114); AddVehicleComponent(carid,1081); AddVehicleComponent(carid,1119); AddVehicleComponent(carid,1121);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1; }
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m13", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(411,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,148,0);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m14", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(562,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1034); AddVehicleComponent(carid,1038); AddVehicleComponent(carid,1147);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,0);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m15", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(415,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1017); AddVehicleComponent(carid,1016);
AddVehicleComponent(carid,1079); AddVehicleComponent(carid,1007); AddVehicleComponent(carid,1087);
ChangeVehicleColor(carid,1,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m16", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(475,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1078); AddVehicleComponent(carid,1087);
ChangeVehicleColor(carid,166,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m17", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(589,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1090); AddVehicleComponent(carid,1018); AddVehicleComponent(carid,1017);
AddVehicleComponent(carid,1012); AddVehicleComponent(carid,1023); AddVehicleComponent(carid,1006); AddVehicleComponent(carid,1080);
AddVehicleComponent(carid,1087);
ChangeVehicleColor(carid,1,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m18", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(451,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,147,0);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m19", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(545,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,252,0);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m20", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(541,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,147,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m21", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(542,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,0,166);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext, "/m22", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(573,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,1,0);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
///////////////////////////////////////////////////////
if(strcmp(cmdtext, "/m23", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(470,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,1,0);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
////////////////////////////////
if(strcmp(cmdtext, "/m24", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(531,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,166,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
////////////////////////////////////////
if(strcmp(cmdtext, "/m25", true)==0) {
TextDrawShowForPlayer(playerid, NAME[playerid]);
if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid,800, DIALOG_STYLE_MSGBOX, "{FF6666}## Bilgi Mesajı ##", "{ffffff} Başka Bir Araз Alman İзin İnmelisin .", "Tamam", "");
else {
new Float:X,Float:Y,Float:Z,Float:Angle,carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
carid = CreateVehicle(482,X,Y,Z,Angle,1,-1,-1); PutPlayerInVehicle(playerid,carid,0);
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1079);
ChangeVehicleColor(carid,1,1);
SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
}
return 1;
}
//////////////////////////////////////////////////////////