- เครดิต
- 1725
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if(strcmp(cmd, "/ฐ", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3))
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -2419.7512,969.8740,45.2969);
TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
}
else
{
SetPlayerPos(playerid, -2419.7512,969.8740,45.2969);
}
SendClientMessage(playerid, COLOR_GRAD1, " มึงชิ่งมาถึงแร๊ว");
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
} |
|