09.01.2010, 21:26
Well, I tried to make a /pduty command for officers..
and Pawno Libary stops working.. and I dont know..? Any help?
Code:
if(strcmp(cmd, "/pduty", true) == 0) { if(PlayerToPoint(3, playerid,303.8969,-141.7608,1004.0625); } if(PlayerInfo[playerid][pSmember] != 11) { SendClientMessage(playerid, COLOR_GRAD1, "Police Officers only!"); return 1; } PlayerInfo[playerid][pTeam] = level; SendTeamMessage(2, TEAM_BLUE_COLOR, "Officer %s has gone on duty", sendername); return 1; }