18.03.2017, 13:18
Код:
new Float:ParkourRandom[][4] =
{
{2442.3235,-1638.0476,13.4310,4.0},
{1988.0079,-1628.4105,15.9691,4.0}
};
Код:
if(dialogid == 1212)
{
if(response)
{
switch(listitem)
{
case 0:
{
SetPlayerVirtualWorld(playerid,1);
new rand = random(sizeof(ParkourRandom));
SetPlayerCheckpoint(playerid, ParkourRandom[rand][0], ParkourRandom[rand][1]);
if(rand == 0)
{
TextDrawShowForPlayer(playerid, avispa);
}
if(rand == 1)
{
TextDrawShowForPlayer(playerid, eba);
}
}
}
}
return 1;
}


