SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 22/08/2019, 04:14 PM   #461
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 844
Reputation: 62
Default Re: Pawn.CMD

My commands are not working when I updated to v3.2.0 from v3.1.3.
Uberanwar is offline   Reply With Quote
Old 14/09/2019, 12:52 PM   #462
BoNNe
Little Clucker
 
Join Date: Jul 2018
Posts: 2
Reputation: 0
Default Re: Pawn.CMD

the same problem
BoNNe is offline   Reply With Quote
Old 14/09/2019, 02:15 PM   #463
B3x7K
Big Clucker
 
B3x7K's Avatar
 
Join Date: Aug 2017
Location: 惑星黒トカゲ
Posts: 69
Reputation: 3
Default Re: Pawn.CMD

Quote:
Originally Posted by Uberanwar View Post
My commands are not working when I updated to v3.2.0 from v3.1.3.
Quote:
Originally Posted by BoNNe View Post
the same problem
What?
For me, it was fine and the commands run smoothly as i expected.
__________________

HOW TO ENGLISH?!
AAAAAAAAAAAAAAAA

B3x7K is offline   Reply With Quote
Old 14/09/2019, 08:13 PM   #464
BoNNe
Little Clucker
 
Join Date: Jul 2018
Posts: 2
Reputation: 0
Default Re: Pawn.CMD

Guys, if all work fine (compile with 0 errors, load plugin without problem) and any command don't work, go to the gamemode and delete public OnPlayerCommandText(playerid, cmdtext[]) and try again.

PHP Code:
public OnPlayerCommandText(playeridcmdtext[]) {
    return 
1;

to
PHP Code:
public OnPlayerCommandReceived(playeridcmd[], params[], flags) {
    return 
1;
}
public 
OnPlayerCommandPerformed(playeridcmd[], params[], resultflags) {
    if(
result == -1) {
        
SendClientMessage(playerid0xFFFFFFFF"SERVER: Unknown command.");
        return 
0;
    }
    return 
1;

BoNNe is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Vectoral Pawn - STL Data containers for pawn Rancho Plugin Development 69 25/03/2019 11:50 PM
Forum bug with [pawn][/pawn] BBCODE Yuripe Everything and Nothing 4 06/10/2012 12:58 PM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 07:09 PM
[Help With Pawn] Pawn and compiler is not working..... D_Less Client Support 3 09/03/2012 04:49 AM


All times are GMT. The time now is 06:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.