Help ANTI_AFK
#1

Hello, why does not my buddy walk around in dialog tables?

https://pastebin.com/Lshi1LzZ
Reply
#2

wtf?
PHP код:
new Float:AFKPos[MAX_PLAYERS][3]
    
AFKCounter[MAX_PLAYERS];
AFKCheck(pid){
    if(
IsPlayerInRangeOfPoint(pid,1.0,AFKPos[pid][0],AFKPos[pid][1],AFKPos[pid][2])){
        
AFKCounter[pid]++;
    }else{
        
AFKCounter[pid]=0;
    }
    if(
AFKCountr[pid]>=5*60){
        
ShowPlayerDialog(pid,d_afkanswer,msgbox,"AFK","Are you afk?","Yes","No");
    }
    
GetPlayerPos(pid,AFKPos[pid][0],AFKPos[pid][1],AFKPos[pid][2]);
    return 
1;

Reply
#3

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
wtf?
PHP код:
new Float:AFKPos[MAX_PLAYERS][3]
    
AFKCounter[MAX_PLAYERS];
AFKCheck(pid){
    if(
IsPlayerInRangeOfPoint(pid,1.0,AFKPos[pid][0],AFKPos[pid][1],AFKPos[pid][2])){
        
AFKCounter[pid]++;
    }else{
        
AFKCounter[pid]=0;
    }
    if(
AFKCountr[pid]>=5*60){
        
ShowPlayerDialog(pid,d_afkanswer,msgbox,"AFK","Are you afk?","Yes","No");
    }
    
GetPlayerPos(pid,AFKPos[pid][0],AFKPos[pid][1],AFKPos[pid][2]);
    return 
1;

Yes good code
Reply
#4

any rep?
Reply
#5

If you don't actually have anything to help or ask him, don't post.
Reply
#6

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
any rep?
ah yes i love rep
Reply
#7

Hi, and how to put rep?
Reply
#8

Sew_Sumi maybe just a little bit shut up if its okey to you just a maybe?
Reply
#9

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
any rep?
Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
Sew_Sumi maybe just a little bit shut up if its okey to you just a maybe?
How to rep?
Reply
#10

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
Sew_Sumi maybe just a little bit shut up if its okey to you just a maybe?
You don't even make sense, so you should maybe take a backseat instead of throwing up copy-pasta solutions...

Maybe you should actually explain some shit and try to help, rather than simply posting up crap so that people are 'repping', for your bad practices.
Reply
#11

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
Sew_Sumi maybe just a little bit shut up if its okey to you just a maybe?
Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
wtf?
PHP код:
new Float:AFKPos[MAX_PLAYERS][3]
    
AFKCounter[MAX_PLAYERS];
AFKCheck(pid){
    if(
IsPlayerInRangeOfPoint(pid,1.0,AFKPos[pid][0],AFKPos[pid][1],AFKPos[pid][2])){
        
AFKCounter[pid]++;
    }else{
        
AFKCounter[pid]=0;
    }
    if(
AFKCountr[pid]>=5*60){
        
ShowPlayerDialog(pid,d_afkanswer,msgbox,"AFK","Are you afk?","Yes","No");
    }
    
GetPlayerPos(pid,AFKPos[pid][0],AFKPos[pid][1],AFKPos[pid][2]);
    return 
1;

You must spread some Reputation around before giving it to CodeStyle175 again. When will i be able to give rep?
Reply
#12

Obviously a bit of a troll, and doesn't realize what learning to code, even means... CodeStyle always simply posts up pastes, and yet, it doesn't teach anything...

Literally, when he disappears off the forum, and other people don't give you what you 'want', then what?

This is similar to the old "How much is an elegy" on the RP servers, the correct response is 'Find out ICly", but now, constant pastes of how much it is...


And as I said, when he's gone, how will you cope. There should almost be a rule of no simple copy-pastes without explanation of what it's for... CodeStyle simply pastes anything up, doesn't explain it, and yet, that's just spreading bad practice, and he's been pointed out for it too...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)