Raised This Month: $ Target: $400
 0% 

Need help with my first script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rixorster
Senior Member
Join Date: Jul 2005
Old 05-05-2006 , 12:18  
Reply With Quote #7

Yep, i know that, i get it around many scripts, got no idea what it means but doesn't matter for me
Anyways, this should work fine.
Code:
// Edited by Rixorster #include <amxmodx> #include <amxmisc> #include <engine> #include <fun> #include <fakemeta> new Float:porigin[3] = { -326.0, 152.0, -25.0 } public plugin_init() {     register_plugin("Matrix Phone", "1.0", "Kuidao Ketemeto")     register_clcmd("item_mphone","item_mphone") } // Precaching some stuff public plugin_precache() {     precache_sound("items/kuidao/teleport.wav") } //////////////////////////////////// //        ITEM /////////////////////////////////// // The Matrix Phone public item_mphone(id) {     new Origin[3]     get_user_origin(id,Origin)     new authid[32]     get_user_authid(id,authid,31)     set_user_origin(id,porigin)   // Moves the player to the location stored in origin     client_cmd(id,"speak ^"items/kuidao/teleport^"")     return PLUGIN_HANDLED }
But i don't get one thing, why you have that authid thing there? <.<
__________________
You never know, what will happen the day after tomorrow...

+karma if i helped you!
Rixorster is offline
 



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 05:05.


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