31.03.2009, 23:49
Hello. Im trying to code a /elevator menu that i can access from 3 diffrent locations.
Im sure this is not the way to do it. the whole code works but only if i have one of those 3. so what do i have to do to get access to the menu from all the 3?
Thanks.
Код:
if(strcmp(cmdtext, "/elevator", true) == 0 || strcmp(cmd, "/ele", true) == 0) { if(PlayerToPoint(10, playerid,1525.4550,-1677.8188,5.8906)) if(PlayerToPoint(10, playerid,215.4959,125.4498,1003.2188)) if(PlayerToPoint(10, playerid,1564.4706,-1665.4108,28.3956))
Thanks.