Quote:
Originally Posted by S4t3K
@Author : Some parts of your "COMMON ERRORS" are very bad coded.
I take this code as an example :
pawn Code:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success ) { if( success == 0 ) { } return SendClientMessage( playerid, COLOR, "Your new unknown command text" ); return 0; }
It won't work as a solution ! You'll even get an error during the compilation !
This one would work :
pawn Code:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success ) { if(!success) return SendClientMessage( playerid, COLOR, "Your new unknown command text" ); return 1; }
Correct your whole tutorial please.
|
FYI the errors i have there are common mistakes i picked up from other help request threads not my codes. meaning people make common mistakes duh every code i placed there was tested before placing, its my method of coding that works, i share my work.if u test it the way i said it wud turn out exactly as i said in conclusion everything is placed the way it should be.