Raised This Month: $ Target: $400
 0% 

Special spawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-18-2007 , 10:39   Re: Special spawn
Reply With Quote #3

No need to use a param to pass id.

Code:
    new Parm[1];     Parm[0] = id;         set_task(0.5, "SetPlayerOrigin", 1234, Parm, 1); } public SetPlayerOrigin(Parm[]) {     new id = Parm[0];

==>

Code:
    set_task(0.5, "SetPlayerOrigin", id ); } public SetPlayerOrigin( id ) {
__________________
Arkshine 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 01:19.


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