Raised This Month: $ Target: $400
 0% 

Spawn to origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
NewUser
Member
Join Date: Mar 2006
Location: over there
Old 05-30-2006 , 21:41  
Reply With Quote #3

Tag mismatches on lines 13, 15, 17.

Code:
#include <amxmodx> #include <amxmisc> #include <engine> #define SPAWN_MAX 32 #define PLUGIN "plugin" #define version "version" #define author "author" new Float:g_spawn_origin[2][SPAWN_MAX][3] = {     {         {-2692, -2272, -342}, // line 13         {-2191, 2098, -348} // line 15     } } // line 17 new g_spawn_classname[2][] = {"info_player_deathmatch","info_player_start"} public plugin_init() {     register_plugin(PLUGIN,version,author);     for(new i = 0; i < 2; ++i)     {         new j = -1, k = 0         while ((j = find_ent_by_class(j, g_spawn_classname[i])))             entity_set_origin(j, g_spawn_origin[i][k++])     } }
__________________
LEWL.
NewUser 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 16:23.


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