What did i do wrong? Help me with this script
I made (tryed to make) my first script ever today. And of course it dont work :lol:. I made a command that allows me to change other peoples name, but it errors when i try to compile it. Can somebody fix it or tell me what i did wrong? I just used a help file, which showed a change hp command. And i tryed to change it to change name instead... Here it is:
Code:
|
I'm too lazy to compile this myself, but:
Code:
Code:
Code:
Code:
Code:
Code:
|
Still dont work :( this is how it looks now:
Code:
|
Code:
should be Code:
Come on man u can find spelling errors :P |
Still dont work! :( Maybe the whole script is completely wrong? And is the spaces very important? Isnt it 4 spaces betwen new commands/lines??
---EDIT--- I tested compiling it at the compiler link on amxmodx.org. There i got this message: "Read the errors above. Your plugin failed to compile. Make sure it is has the correct #includes." Do i have right includes? posting again what i got now: Code:
|
No, spacing doesn't matter..
As for the script: This, JGHG, is exactly why I created find.inc. |
Can we see the error? It tells you the exact line...
|
Ok ill post all errors. When i compile with the program in my scripting folder i get this message:
// AMXXSC compile.exe // by the AMX Mod X Dev Team //// amx_name.sma // Internal error. Press enter to exit... When i try using the compiler link on amxmodx.org i get this message: Welcome to the AMX Mod X 1.00-251 Compiler. Copyright (c) 1997-2004 ITB CompuPhase, AMX Mod X Team Read the errors above. Your plugin failed to compile. Make sure it is has the correct #includes. (There isnt any errors above.) Go back 38460 plugin compiles to date. This tool by: David "BAILOPAN" Anderson Did this help? Can somebody check if the whole script is wrong? Because this is the first script i ever made. And do i have the right includes like the error message asks for?? |
Sorry for not using edit button... Just had to bump the thread up too :lol:
I know whats wrong... There isnt any command called set_user_name... So what command to change name with then? |
wow, there isnt a set_user_name!!!!!!!!!
client_cmd(players[i],"name ^"%s^"", Name) ? |
| All times are GMT -4. The time now is 19:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.