SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 17/03/2010, 04:41 PM   #1
Big Clucker
Join Date: Aug 2009
Location: Denmark
Posts: 195
Reputation: 0
Default Minor problem

Hey i made an ooc command which looks like this

pawn Code:
    new text,name[MAX_PLAYER_NAME],string[128];
    if(sscanf(params,"s",text)) SendClientMessage(playerid,COLOUR_RED,"Usage: /ooc message");
        format(string,sizeof(string),"OOC %s: %s",name,text);
    return 1;

Which works fine exept it sends the text plus an "SERVER: Unknown command" no matter where i put the return 1; Any ideas?
Desert is offline  

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
Very minor countdown problem [XST]O_x Help Archive 2 10/07/2010 03:58 PM
Minor Problem Please Help Typical_Cat Help Archive 2 27/04/2010 08:08 AM
Payday, minor help. Perker12345 Help Archive 1 30/01/2010 03:37 AM
Minor problem with DCMD set skin command MisterTickle Help Archive 2 16/01/2010 09:51 AM
[NPC] Minor problem with my npc Pawno_Master Help Archive 5 25/10/2009 07:05 AM

All times are GMT. The time now is 08:42 AM.

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