SA-MP Forums Archive
[Tutorial] How to make a simple /spec command (Zcmd) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to make a simple /spec command (Zcmd) (/showthread.php?tid=228700)



How to make a simple /spec command (Zcmd) - Tee - 20.02.2011

This has been revised and found to be buggy please go here for the new version: Click here!


Re: How to make a simple /spec command (Zcmd) - thimo - 20.02.2011

Bad tut the last code is just 1 bunch of text you didnt explain anything


Re: How to make a simple /spec command (Zcmd) - Tee - 20.02.2011

I forgot to say. I am not good with turorials. If you look at my other ones you will see.


Re: How to make a simple /spec command (Zcmd) - rubygta - 20.02.2011

I say it's pretty awesome, good job He did explain alot


Re: How to make a simple /spec command (Zcmd) - alpha500delta - 20.02.2011

Simple? dude that can be soo much shorter... But it looks nice

Code:
This forum requires that you wait 60 seconds between posts. Please try again in 1 seconds.
lol


Re: How to make a simple /spec command (Zcmd) - xir - 04.03.2011

When adding this line

pawn Code:
new Float:bx,Float:by:,Float:bz;//Position variables X Y Z and Rotation (Angle);
You will get this error
pawn Code:
error 020: invalid symbol name "by"
Here is the fix

pawn Code:
new Float:bx,Float:by,Float:bz;//Position variables X Y Z and Rotation (Angle);
You added a ":" next to "by"

Nice and it looks really good, good tutorial Tee.


Re: How to make a simple /spec command (Zcmd) - alpha500delta - 04.03.2011

Actually it's 1000 milliseconds(1 second) not 1000 seconds xD


Re: How to make a simple /spec command (Zcmd) - Tee - 09.03.2011

Quote:
Originally Posted by xir
View Post
When adding this line

pawn Code:
new Float:bx,Float:by:,Float:bz;//Position variables X Y Z and Rotation (Angle);
You will get this error
pawn Code:
error 020: invalid symbol name "by"
Here is the fix

pawn Code:
new Float:bx,Float:by,Float:bz;//Position variables X Y Z and Rotation (Angle);
You added a ":" next to "by"

Nice and it looks really good, good tutorial Tee.
Sorry it was a typo. Would I ever make this mistake again? O_O?