20.06.2009, 11:36
Something like this...
pawn Код:
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerToPoint(3, playerid, x, y, z)) //put the coordinates of the enter position of bulding 1
{
//code here
}
else if(PlayerToPoint(3, playerid, x, y, z)) //put the coordinates of the enter position of building 2
{
//code here
}
///and so on
}