Need help with 2 scripts.(ns scripts)
1. Ok im trying to make a simple respawn plugin. When you write amx_spawn "name" i want it to spawn the player, but it doesnt. Whats wrong? Just as you know im going to use this in ns. Can somebody help me? (It compiles, but not work...) Here it is:
Code:
2. Another small plugin for ns. What im trying to make is when amx_res "name" "resources to give" is used, that player will get resources (alien players only.) This one wont compile. Somebody have an idea of what i did wrong? Here it is: Code:
|
For 1: typing spawn in console makes you spawn? Since when?
For 2: It's your usage of ns_set_res. Try this instead: Code:
|
Why did i know you would help? You know everything lol :D
It compiles without any errors or warnings :D ill test it now ------------------------------------------------------------------- EDIT: It works perfectly! Can you help me make a new spawn script then? Or give me a link to a plugin like that. I searched for it but i only found a respawn forever plugin. what i want is to only respawn one guy... |
Code:
|
Thanks! Lol ill start sending private messages to you since you allways helps and know everything 8)
------------------------------------------ EDIT: Damn ive allready made a thread on plugin forum and it wont compile at all. it comes a "internal error" or something. Help XxAvalanchexX?? |
| All times are GMT -4. The time now is 14:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.