Raised This Month: $ Target: $400
 0% 

Error HELP ME!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-10-2009 , 06:35   Re: Error HELP ME!
Reply With Quote #1

Yes, quite easy, it just pointed the line:
PHP Code:
public cmdGiveM3id ) {
    
client_cmd(id"slot1; drop")                                        // Strips you'r primary weapon
    
give_itemid"weapon_m3" );                                        // Gives you a m3
    
client_print(id print_chat"You got a m3!")                      // With this there is a message

after give_item(id you placed ; instead of ,

and the first error is the loose indentation... you must align codes properly

It's easy to find errors when you look at the line number ! that was 75 in your case, weapon.sma(75), that's the filename and line number
Attached Files
File Type: sma Get Plugin or Get Source (weapon.sma - 649 views - 5.7 KB)
__________________
Hunter-Digital is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 02:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode