16.09.2008, 17:08
Quote:
Originally Posted by [18SG
Juicy_J ]
Quote:
|
Code:
if(strcmp(cmdtext,"/opengate", true) == 0) { if (gTeam[playerid] == TEAM_BLUE) { if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436)) { MoveObject(hqgate, 2294.237060,2499.121337,10.422034,1.500000); return 1; } } } if(strcmp(cmdtext,"/closegate", true) == 0) { if (gTeam[playerid] == TEAM_BLUE) { if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436)) { MoveObject(hqgate, 2294.206787,2499.329101,5.770081,270.057617,1.500000); return 1; } } }