none of these helped me here is my commands for the TDM
Код:
if (strcmp("/tdmg", cmdtext, true, 10) == 0)
{
GivePlayerWeapon(playerid, 353, 1000);
GivePlayerWeapon(playerid, 356, 1000);
GivePlayerWeapon(playerid, 350, 1000);
GivePlayerWeapon(playerid, 342, 1000);
SetPlayerTeam(playerid, 1);
SetPlayerPos(playerid, 2520.8533, -1677.9012, 15.1480);
SetPlayerFacingAngle(playerid, 94.3242);
SetPlayerSkin(playerid, 106);
SendClientMessage(playerid, COLOR_GROVE, "You went to the TDM On Grove's side!");
SendClientMessage(playerid, COLOR_GROVE, "Kill Other Gang Members!!!");
return 1;
}
if (strcmp("/tdmb", cmdtext, true, 10) == 0)
{
GivePlayerWeapon(playerid, 353, 1000);
GivePlayerWeapon(playerid, 356, 1000);
GivePlayerWeapon(playerid, 350, 1000);
GivePlayerWeapon(playerid, 342, 1000);
SetPlayerTeam(playerid, 2);
SetPlayerPos(playerid, 2154.3250, -1803.4918, 13.5567);
SetPlayerFacingAngle(playerid, 282.9160);
SetPlayerSkin(playerid, 102);
SendClientMessage(playerid, COLOR_PURPLE, "You went to the TDM On Balla's side!");
SendClientMessage(playerid, COLOR_PURPLE, "Kill Other Gang Members!!!");
return 1;
}
can anyone do something that will return them to those coordinates?