17.04.2017, 18:45
Hey, i'm a new scripter and I've quite learned the basics by creating a /rules in dialog. So can someone help me with other stuffs?
Код:
CMD:rules(playerid, params[]) { new string [1500]; new giveid; strcat(string, "1.Do not use any cheats, hacks, exploits or third party modifications.\n"); strcat(string, "2.Roleplay at all times unless an admins says not to.\n"); strcat(string, "3.Do not metagame.\n"); strcat(string, "4.Do not powergame.\n"); strcat(string, "5.Revenge Killing is prohibited.\n"); strcat(string, "6.Do not steal (ninja-jack) occupied vehicles without any roleplay involved.\n"); strcat(string, "7.Do not use abbreviations in character.\n"); strcat(string, "8.Constantly jumping (bunny hopping) is prohibited.\n"); strcat(string, "9.Car Surfing is allowed ONLY on pickup trucks (up to 2 persons in the back).\n"); strcat(string, "10.Do not advertise any servers or sites without an admin’s approval.\n"); strcat(string, "11.Flaming or racism is prohibited.\n"); strcat(string, "12.Drive-by as a driver is prohibited, only passengers are allowed to drive-by (legal weapons: Colt45, Silenced Pistol, UZI and Tec9).\n"); strcat(string, "13.Do not use fully capitalized sentences in an OOC chat.\n"); strcat(string, "14.Do not spam.\n"); strcat(string, "15.Do not rob or scam players of level 1 or 2.\n"); strcat(string, "16.Do not scam over $5,000.\n"); strcat(string, "17.Do not take out heavy weapons (Shotgun, SPAS12, MP5, AK47, M4, Rifle, Sniper, RPG, Katana\n"); strcat(string, "Golf club, Baseball bat, Shovel, Pool cue, Cane, Parachute) without any roleplay unless they’re sciptly holstered.\n\n"); strcat(string, "18.IC chat is an english-only chat.\n"); strcat(string, "19.Sexual harrassment without an OOC consensus between both sides is prohibited.\n"); strcat(string, "20.Do not use celebrity/famous name as a character name.\n"); strcat(string, "21.Do not share your accounts with other people.\n"); ShowPlayerDialog(giveid, 44, DIALOG_STYLE_MSGBOX, "Server Rules", string, "OK", ""); return 1; }