05.12.2009, 18:27
pawn Код:
if(strcmp("/da", cmdtext, true, 3) == 0)
{
new da = random(6);
if(da == 1)
{
SetPlayerPos(playerid,-58.0068,2509.9956,24.5195,76.6138);
}
if(da == 2)
{
SetPlayerPos(playerid,-25.5631,2493.7495,18.7070,80.0605);
}
if(da == 3)
{
SetPlayerPos(playerid,164.9055,2505.0134,16.4844,223.5452);
}
if(da == 4)
{
SetPlayerPos(playerid,326.5273,2506.4158,16.4844,215.0850);
}
if(da == 5)
{
SetPlayerPos(playerid,400.8727,2495.0579,19.0163,268.6655);
}
if(da == 5)
{
SetPlayerPos(playerid,407.7825,2504.4922,19.0163,88.8339);
}
return 1;
{
return 0;
}
-©un3o.