Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: apocalips
Forum: Scripting 12-10-2010, 05:13
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

I'm sorry I made a mistake in the tests, the code works well, the mistake was that "LogMessage (origin [0]), and had it"
LogMessage ("% f", origin [0]); "
Forum: Scripting 12-10-2010, 03:01
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

not necessary, if read "ReadFileLine (st_file, read_line, sizeof (read_line))" directly "read_line" works, but I want to "float", not "string"
Forum: Scripting 12-09-2010, 11:13
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

Only when he writes "WriteFileLine (st_file,"% f ", origin [0]);" , and reading "ReadFileLine (st_file, read_line, sizeof (read_line)), origin [0] = StringToFloat (read_line);" ,"Stringtofloat"...
Forum: Scripting 12-09-2010, 09:19
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

Why not work "StringToFloat" read this "-3546.030273" and results "&" or "þ ½ & Ã" is because it already floats, and is not string ...??? :|
Forum: Scripting 12-08-2010, 03:28
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

is only double post ...
Forum: Scripting 12-07-2010, 09:56
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

decl String:path[PLATFORM_MAX_PATH], String:line[128], String:map[128];
new Float:origin[3];

GetCurrentMap(map, sizeof(map));

BuildPath(Path_SM, path, PLATFORM_MAX_PATH,...
Forum: Scripting 12-05-2010, 10:43
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

the "line" results all lines in the file and because it does not work

this code works
decl String:path[PLATFORM_MAX_PATH], String:line[128], String:map[128];

GetCurrentMap(map,...
Forum: Scripting 12-04-2010, 13:43
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

Thanks, but it works just like the code posted by me this message LogMessage ("Current maps and line match:% s", map) does not work if line == map
Forum: Scripting 12-04-2010, 09:59
Replies: 14
Views: 4,759
Posted By apocalips
Re: StrEqual not work

public map_load(id)
{




new mapname[32]
get_mapname(mapname,31)
format(mapname,31,"[%s]",mapname)
get_configsdir( Configsdir, 199 )
Forum: Scripting 12-04-2010, 06:03
Replies: 14
Views: 4,759
Posted By apocalips
StrEqual not work

public Action:read_st_spawn()
{

decl String:file[255];
decl String:map[64], read_map[64];
new Handle:st_file;
new Handle:number_line;

Format(file, sizeof(file),...
Forum: Scripting 11-03-2010, 12:22
Replies: 3
Views: 3,213
Posted By apocalips
Re: how to get client aim postion

try that : GetAimOrigin(client, hOrigin)
stock GetAimOrigin(client, Float:hOrigin[3])
{
new Float:vAngles[3], Float:fOrigin[3];
GetClientEyePosition(client,fOrigin);
...
Forum: Scripting 11-03-2010, 10:03
Replies: 2
Views: 959
Posted By apocalips
Re: How do I set the animation to a player

I want for players can not use clones
Forum: Scripting 11-03-2010, 09:40
Replies: 2
Views: 959
Posted By apocalips
How do I set the animation to a player

How do I set the animation to a player ,i try :
SetEntProp(i, Prop_Data, "m_nSequence", 9);
Forum: Scripting Help 09-10-2009, 13:50
Replies: 10
Views: 2,141
Posted By apocalips
Re: number of entities

Arkshine please can you give me an example, to detect only entities resurseEnt
Forum: Scripting Help 09-10-2009, 12:47
Replies: 10
Views: 2,141
Posted By apocalips
Re: number of entities

with this "engfunc (EngFunc_NumberOfEntities)" can detect the number of entities" resurseEnt "no other entity? (only resurseEnt)
Forum: Scripting Help 09-10-2009, 12:08
Replies: 10
Views: 2,141
Posted By apocalips
Re: number of entities

how detected in this example number entity "resurseEnt" ?


public plugin_init()
{


register_plugin(PLUGIN, VERSION, AUTHOR)
set_task(2.0, "resurse_give",_,_,_,"b");
Forum: Scripting Help 09-10-2009, 10:33
Replies: 10
Views: 2,141
Posted By apocalips
Re: number of entities

Please give examples
Forum: Scripting Help 09-10-2009, 10:21
Replies: 10
Views: 2,141
Posted By apocalips
number of entities

How can I check the number of entities .?? ,entity created by me
Forum: Scripting Help 09-09-2009, 09:56
Replies: 16
Views: 3,338
Posted By apocalips
Re: respawn players where is the entity

thank those who tried to help me + karma I solved the problem
Forum: Scripting Help 09-09-2009, 06:44
Replies: 16
Views: 3,338
Posted By apocalips
Forum: Scripting Help 09-07-2009, 09:55
Replies: 16
Views: 3,338
Posted By apocalips
Re: respawn players where is the entity

Yes, you're right but after 4-5 respawnuri not find forigin
Forum: Scripting Help 09-07-2009, 05:41
Replies: 16
Views: 3,338
Posted By apocalips
Re: respawn players where is the entity

How to search the origin of entities in my example (my version does not work )
Forum: Scripting Help 09-06-2009, 15:22
Replies: 16
Views: 3,338
Posted By apocalips
Re: respawn players where is the entity

what is wrong in this code




#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fakemeta>
Forum: Scripting Help 09-06-2009, 11:42
Replies: 16
Views: 3,338
Posted By apocalips
Re: respawn players where is the entity

Thank you for your example, but i want to make the entity during the game, not in the beginning of it, the problem is after i make the entity i don't seem to determine if it exists and its location ...
Forum: Scripting Help 09-06-2009, 05:12
Replies: 16
Views: 3,338
Posted By apocalips
Re: respawn players where is the entity

one example does not mean all code
Showing results 1 to 25 of 31

 
Forum Jump

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


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