- เครดิต
- 25
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}if(strcmp(cmd, "/gotodm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, 1416.107000,0.268620,1000.926000);
}
else
{
SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
}
SetPlayerInterior(playerid,1);
SetPlayerWantedLevel(0);
ResetPlayerWeapons(playerid);
swat[playerid] = 1;
SetPlayerSkin(playerid, 285);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 150);
GivePlayerWeapon(playerid, 29, 730);
GivePlayerWeapon(playerid, 27, 307);
GivePlayerWeapon(playerid, 24, 207);
GivePlayerWeapon(playerid, 16, 20);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SafeGivePlayerMoney(playerid, - 300);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
} |
|