this map has place For change clothes and another meeting and place for training ...
pawn Код:
if (strcmp("/gotofire", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 659.3934, 2571.7102, -55.8831);
SendClientMessage(playerid, COLOR_YELLOW, "Good");
return 1;
}
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 2, 706.7884, 2586.9783, -62.0892))
{
SetPlayerPos(playerid, 635.1703, 2581.9866, -53.2447);
}
return 1;
}
if (strcmp("/exit", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 2, 635.1703, 2581.9866, -53.2447))
{
SetPlayerPos(playerid, 706.7884, 2586.9783, -62.0892);
}
return 1;
}
if (strcmp("/duty", cmdtext, true, 10) == 0)
{
SetPlayerSkin(playerid, 277);
SendClientMessage(playerid, COLOR_YELLOW, "You are duty now");
return 1;
}
if (strcmp("/getgun", cmdtext, true, 10) == 0)
{
GivePlayerWeapon(playerid, 42, 99999);
GivePlayerWeapon(playerid, 6, 99999);
return 1;
}