SA-MP Forums

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

 
 
Thread Tools Display Modes
Old 01/03/2010, 01:53 PM   #11
BurningSWA
Big Clucker
 
Join Date: Jun 2009
Posts: 140
Reputation: 0
Default Re: Minigun

Quote:
Originally Posted by [NWA
Hannes ]
*sigh*
pawn Code:
if(!strcmp(cmdtext, "/minigun", true))
{
  SetPlayerPos(playerid, 3106.690, 468.840, 36.7495);
  SendClientMessage(playerid, 0xDF1818AA , "Minigun Match");
  ResetPlayerWeapons(playerid);
  GivePlayerWeapon(playerid, 38, 8000);
  return 1;
}
lol XD at the same time
BurningSWA is offline  
Old 01/03/2010, 01:56 PM   #12
Igdirli 76
Big Clucker
 
Join Date: Dec 2008
Posts: 77
Reputation: 0
Default Re: Minigun

WHen i enter /skroad i have the weapons
Igdirli 76 is offline  
Old 01/03/2010, 01:57 PM   #13
bajskorv123
Huge Clucker
 
Join Date: Sep 2009
Posts: 405
Reputation: 0
Default Re: Minigun

Quote:
Originally Posted by Igdirli 76
WHen i enter /skroad i have the weapons
Show me the code for your /skroad command and your /minigun command.
bajskorv123 is offline  
Old 01/03/2010, 01:58 PM   #14
Igdirli 76
Big Clucker
 
Join Date: Dec 2008
Posts: 77
Reputation: 0
Default Re: Minigun

Here is my pwn file
Igdirli 76 is offline  
Old 01/03/2010, 02:33 PM   #15
bajskorv123
Huge Clucker
 
Join Date: Sep 2009
Posts: 405
Reputation: 0
Default Re: Minigun

You forget to use true after a command.
pawn Code:
if(!strcmp(cmdtext, "/skroad"))
Bad

pawn Code:
if(!strcmp(cmdtext, "/skroad", true))
Good


Attachment
|
|
V
bajskorv123 is offline  
Old 01/03/2010, 02:51 PM   #16
BurningSWA
Big Clucker
 
Join Date: Jun 2009
Posts: 140
Reputation: 0
Default Re: Minigun

Quote:
Originally Posted by [NWA
Hannes ]
You forget to use true after a command.
pawn Code:
if(!strcmp(cmdtext, "/skroad"))
Bad

pawn Code:
if(!strcmp(cmdtext, "/skroad", true))
Good


Attachment
|
|
V
o yhea :P
BurningSWA 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
minigun Headshot1108 Help Archive 8 15/06/2010 11:30 AM
minigun gozo12 Help Archive 4 09/04/2010 08:14 PM
need help on minigun ban fs stuntage Help Archive 3 18/07/2009 09:54 AM
[GameMode] [GM]New Minigun rytis935 Gamemode Scripts 16 02/07/2009 12:02 PM


All times are GMT. The time now is 06:48 AM.


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