[pomoc]/enter

Započeo ‹Fox›, Januar 27, 2011, 14:11:35 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Jel mogu kak skratit komandu enter?
evo moje komande:
   if(strcmp("/enter", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 1554.2671,-1675.8704,16.1953))
{
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid, 246.783996,63.900199,1003.640625);
}
if(IsPlayerInRangeOfPoint(playerid, 1.0, 1199.2985,-919.1061,43.1157))
{
SetPlayerInterior(playerid, 10);
SetPlayerPos(playerid, 363.3676,-74.3545,1001.5078);
}
if(IsPlayerInRangeOfPoint(playerid, 2, 1457.1729,-1138.6656,24.0088))
{
SetPlayerInterior(playerid, 14);
SetPlayerPos(playerid, 204.332992,-166.694992,1000.523437);
}
return 1;
}

tek sam poceo radit mode ko zna koliko ce onda trebat kasnije biti "if(isplayerinrangeof......"
ugl. kak da to skratim?