AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   hey all (https://forums.alliedmods.net/showthread.php?t=147559)

DuckRoll 01-10-2011 18:13

hey all
 
for my first plugin i want to be able to make people alive again when they type /alive

how wuld i do that?

SpeeDeeR 01-10-2011 18:21

Re: hey all
 
PHP Code:

#include <amxmodx>
#include <hamsandwich>

public plugin_init()
{
register_clcmd("say /alive","respawn")
}

public 
respawn(id)
ExecuteHamB(Ham_CS_RoundRespawnid); 

I believe its already asked.

DuckRoll 01-10-2011 18:29

Re: hey all
 
thanks man could you explain each line to me?
and where do i put this stuff?

fysiks 01-10-2011 22:18

Re: hey all
 
Quote:

Originally Posted by DuckRoll (Post 1390925)
thanks man could you explain each line to me?
and where do i put this stuff?

1. I'm not sure you would understand (because you have to ask).
2. http://www.amxmodx.org/webcompiler.cgi

reinert 01-11-2011 06:16

Re: hey all
 
Quote:

Originally Posted by DuckRoll (Post 1390925)
thanks man could you explain each line to me?
and where do i put this stuff?

The line 3 & 8 means nothing.

GXLZPGX 01-11-2011 06:21

Re: hey all
 
Quote:

Originally Posted by reinert (Post 1391181)
The line 3 & 8 means nothing.

Was that sarcasm?

reinert 01-11-2011 06:37

Re: hey all
 
No that was a joke :D

drekes 01-11-2011 10:02

Re: hey all
 
Do you have any experience in scripting, if not you should check out the basic tutorials and read through the .inc files to learn.

sinblaster 01-11-2011 19:23

Re: hey all
 
Just a word of warning, if you're Dutch don't try helping, he hates you apparently.


ANTICHRISTUS 01-11-2011 22:25

Re: hey all
 
Quote:

Originally Posted by sinblaster (Post 1391663)
Just a word of warning, if you're Dutch don't try helping, he hates you apparently.

https://forums.alliedmods.net/showthread.php?t=147559

you mean this one: https://forums.alliedmods.net/showthread.php?t=147557


All times are GMT -4. The time now is 02:14.

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