Quote:
Originally Posted by Mencent
Hello!
Try this:
PHP код:
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], ParkourRandom[rand][2],ParkourRandom[rand][3]);
if(rand == 0)
{
TextDrawShowForPlayer(playerid, avispa);
}
else if(rand == 1)
{
TextDrawShowForPlayer(playerid, eba);
}
}
}
}
return 1;
}
|
Still doesn't wooorkkk......