Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 71
Search took 0.01 seconds.
Search: Posts Made By: Callesson
Forum: Scripting Help 12-21-2010, 12:10
Replies: 4
Views: 1,327
Posted By Callesson
Re: MSG_ONE Error

Because I'm learning pawn, and I'm trying to make my own plugins to my server :)

0 works for me too.

Oh yea, thats true. I think I know who to solve it now.
Thank you guys! :)
Forum: Scripting Help 12-20-2010, 08:53
Replies: 4
Views: 1,327
Posted By Callesson
MSG_ONE Error

Hello :)

So, I got this error message
Msg_one or MSG_one_UNRELIABLE with no target entity.
I've searched on google and found out that it is because a message isn't called for anyone.
So the...
Forum: Scripting Help 12-20-2010, 06:55
Replies: 6
Views: 1,772
Posted By Callesson
Re: Hud message help

Like this, the id (in show_hudmessage(id...) will display it for the player who says hello.
If change it to 0 instead of id, then it will display it for everyone when a player types hello.
...
Forum: Scripting Help 12-20-2010, 06:49
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

Oh, I had like that

remove_task(client)
remove_task(client)
remove_task(client)'


Removing it now :D
Forum: Scripting Help 12-19-2010, 19:54
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

Okey, yea then it should be

public fwdPlayerSpawn(machine_gun_of_not_awesome)
{
client_print(machine_gun_of_not_awesome,client_print,"lolololol")
}

Now I get it :)

Thank once more...
Forum: Scripting Help 12-19-2010, 19:48
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

hmm okey
but if i have a client_print then it could be like this? (For printing only for the single person)

client_print(machine_gun_of_not_awesome,client_print,"lolololol")

Like if I have...
Forum: Scripting Help 12-19-2010, 19:35
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

Aww oke :) Ty! :)

One more thing,
would it change anything changing "client" to "id" ?
Forum: Scripting Help 12-19-2010, 19:29
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

Omg, well now it works :D Thanks :) !
Does this mean that every task will have to be id = client?
or only those who involves "client" ?
Forum: Scripting Help 12-19-2010, 18:55
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

Don't know, but don't think it would change anything because this message doesn't show up either.

public message(client)
{
ColorChat( client, RED, "^4[Ng Weapon Chance]^1 Let's see if you...
Forum: Scripting Help 12-19-2010, 18:48
Replies: 16
Views: 3,392
Posted By Callesson
Re: Id/client problems! Host problem!

Nope, it a dedicated server!
Steam -> Tools -> Dedicated server :)
Forum: Scripting Help 12-19-2010, 17:59
Replies: 16
Views: 3,392
Posted By Callesson
Id/client problems! Host problem!

Hi!

So i'm having this plugin that will give you a chance to get a weapon, it works fine when its only me on the server!
I've register when you spawn it will start the weapon chance by "client". ...
Forum: Scripting Help 12-16-2010, 18:37
Replies: 2
Views: 895
Posted By Callesson
Re: Number of flashgranades

Nice, thank you m8 :) !
Forum: Scripting Help 12-16-2010, 18:32
Replies: 2
Views: 895
Posted By Callesson
Number of flashgranades

Fast question!

How to check how many flashgranades a player has?
Forum: Scripting Help 12-16-2010, 08:38
Replies: 10
Views: 2,312
Posted By Callesson
Re: Word in sentence in chat?

ah okey :)! Thank you :D
Forum: Scripting Help 12-16-2010, 08:28
Replies: 10
Views: 2,312
Posted By Callesson
Re: Word in sentence in chat?

Did what Exolent said :)
Ty!

Can you explain why >=0 ?
I've also seen in some codes that they have "!=-1" or "-1"
Forum: Scripting Help 12-16-2010, 07:53
Replies: 10
Views: 2,312
Posted By Callesson
Word in sentence in chat?

Hello

How can I check what color was said?
For example, player says:
Blue
"Print you typed blue"
but also if he says
I'm typing blue
"Print you typed blue"
Forum: Scripting Help 12-15-2010, 20:56
Replies: 10
Views: 2,177
Posted By Callesson
Re: Problem with spawn do function

Okey great (y) Thanks for the help :)
Forum: Scripting Help 12-15-2010, 20:31
Replies: 10
Views: 2,177
Posted By Callesson
Re: Problem with spawn do function

Woks now ^^ Thank Exolent :)

One more thing Exolent,
If I'm already in the server and someone else joins will the
"Hello Hello" be executed for him only or for both?
Forum: Scripting Help 12-15-2010, 20:05
Replies: 10
Views: 2,177
Posted By Callesson
Re: Problem with spawn do function

Still not the problem, if I chance to

client_print(client,print_chat,"Hello");

then it will still not work...
Forum: Scripting Help 12-15-2010, 19:30
Replies: 10
Views: 2,177
Posted By Callesson
Re: Problem with spawn do function

Okey, but no :/

Thats not the problem, have tested, still not working.
Forum: Scripting Help 12-15-2010, 19:20
Replies: 10
Views: 2,177
Posted By Callesson
Forum: Scripting Help 12-15-2010, 18:52
Replies: 10
Views: 2,177
Posted By Callesson
Problem with spawn do function

Hello guys :)

Okey, I don't see whats wrong here?
Do you ?
The problem is that the colorchat print doesn't show.
I have tested with id too but it didn't work either.
(ColorChat is included)
...
Forum: Scripting Help 12-15-2010, 05:07
Replies: 5
Views: 1,244
Posted By Callesson
Re: Get damage

Something like this


public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam( Ham_TakeDamage , "player" , "Event", 0);
}
public Event(You need some things here I guess,...
Forum: Scripting Help 12-15-2010, 05:04
Replies: 5
Views: 1,244
Posted By Callesson
Re: Get damage

Ops, something happened with the web, post will come below!
Forum: Scripting Help 12-14-2010, 04:14
Replies: 3
Views: 990
Posted By Callesson
Re: Problem with variable for each player.[Help]

Forgot about those,
Here you go :)


public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)

register_logevent("EventRoundStart", 2, "1=Round_Start"); //Register Round...
Showing results 1 to 25 of 71

 
Forum Jump

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


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