21.10.2016, 14:29
Many users are experienced scripters, but they had to start from somewhere also!
We are all making mistakes while scripting, that is the only way to learn. ( Not only but it counts as 98% ).
Well, I'm going to share my first script I've ever made. How time passes I m learning too.
This is my first script EVER made! ( Well when I say ever I mean something real, not just random stuff in PAWNo )
This is link for download : http://www.mediafire.com/file/rzsjvo...0t/badword.pwn
For lazy guys:
Well, I 've not changed anything, so laugh as much as you can
Why would you? I didn't know anything!
You should post your first script if you have it!
We are all making mistakes while scripting, that is the only way to learn. ( Not only but it counts as 98% ).
Well, I'm going to share my first script I've ever made. How time passes I m learning too.
This is my first script EVER made! ( Well when I say ever I mean something real, not just random stuff in PAWNo )
This is link for download : http://www.mediafire.com/file/rzsjvo...0t/badword.pwn
For lazy guys:
Well, I 've not changed anything, so laugh as much as you can
Why would you? I didn't know anything!You should post your first script if you have it!
PHP код:
// Bad Word//
#include <a_samp>
#pragma unused playerid
enum badword { Bad_Word [24] }
new bWord [] [badword] = {
{"pussy"},
{"nigga},
{"u fucked ur mom"},
{"fool"},
{"sex"} };
public OnPlayerText(playerid, text []) {
if (IsStringBad(playerid, text ==1) { return 1 }
return 1; }
stock IsStringBad(playerid, string []) {
for(new 1=0;i<sizeof (bWord);1++)
if(strifind(string, bWord [i] [Bad_Word], true)!=-1) {
OnePlayerSwear(playerid, string, bWord[i][Bad_Word]);
return 1; } }
return 0; )
stock OnPlayerSwear(playerid, string[], bad_word[]) {
SendClientMessage(playerid, -1 "[FFFFFF][Server] dont swear !");
return 1
public OnGameModeInt
AddPlayerClass(0, 0, 0, 0, 0, 0, 0, 0,);
return 1; }



