30.07.2009, 23:10
Quote:
Originally Posted by Jefff
Код:
public LOOOL2() |
I know that your functions are only examples, but there are a few errors^^
pawn Код:
public LOOOL(playerid)
{
SendPlayerFormattedText(playerid,"Virtual World 2", 0);
return 1;
}
pawn Код:
public LOOOL2(playerid)
{
new world_id;
world_id = GetPlayerVirtualWorld(playerid);
if(world_id == 1)
{
SendPlayerFormattedText(playerid,"Virtual World 1", 0);
}
else if(world_id == 2)
{
LOOOL(playerid); // Without timer
}
return 1;
}