20.03.2012, 11:17
I need to save the player Name and the playercurrent job on a file called 'jobis' in scriptfiles. I was wondering what commands i should use and if you can, include some code it would REALLY HELP ME ! thanks a lot !
So ! Again , thank you
Noob Pawner
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/weapon smuggler", cmdtext, true, 10) == 0) { if (IsPlayerInRangeOfPoint(playerid, 5.0, 1423.72, -1306.71, 13.55)); { SendClientMessage(playerid,0xFFFFFFFF,"You are now a weapon smuggler ! Beware of the cops, they can arrest you if they see you using 'materials' !"); } return 1; } return 0; }
Noob Pawner