Deathsystem [zcmd][sscanf] -
Milokavis - 28.07.2016
Deathsystem v1.0
I'm new to scripting with pawno and to scripting in general, therefore I wanted to make something simple but really nice for a roleplay script.
This script pretty much freezes the player before he dies and places him in a death animation, to make the character respawn you will have to use the command /acceptdeath and a 60 second timer. once the 60 seconds have passed you will spawn at the all saints hospital. If you found any bugs please send them at me so I can fix them. Also, if another player is logged in as an rcon admin, it will be able to use /revive to revive the player again.
Commands
/suicide
/acceptdeath
/revive
Pictures
Download
Download
Pastebin
Credits
Zeex - zcmd
https://sampforum.blast.hk/showthread.php?tid=91354
******- sscanf
https://sampforum.blast.hk/showthread.php?tid=570927
Re: Deathsystem [zcmd][sscanf] -
JustMe.77 - 29.07.2016
Hi, following things:
- It's called PAWN and not PAWNO.
- sscanf has been created by ******
- why do you print 2 times that your FS has been loaded?
- Don't use capital letters in the Float part where you're getting the players position (X,Y,Z) use x,y,z.
Other than that, good work
Re: Deathsystem [zcmd][sscanf] -
Luicy. - 29.07.2016
Quote:
Originally Posted by JustMe.77
- It's called PAWN and not PAWNO.
|
The program are pawno, but languag are pawn.
Quote:
Originally Posted by JustMe.77
- Don't use capital letters in the Float part where you're getting the players position (X,Y,Z) use x,y,z.
|
Do you know what the fucking you're talking about?
Re: Deathsystem [zcmd][sscanf] -
SickAttack - 29.07.2016
Quote:
Originally Posted by Meller
The program are pawno, but languag are pawn.
Do you know what the fucking you're talking about?
|
He was obviously referring to pawn. Pawno is just a text editor.
is^ is^
All of JustMe.77's points are invalid, except 1 and 2.
Good job, simple yet has a use.
Re: Deathsystem [zcmd][sscanf] -
feheristi97 - 29.07.2016
Quote:
Originally Posted by JustMe.77
Hi, following things:
- Don't use capital letters in the Float part where you're getting the players position (X,Y,Z) use x,y,z.
|
I've never seen bullshit like this before in my life.. It's the same thing if it's capital X, Y, Z or x, y, z. He will get the same positions with big capital and small capital letters, that does not matter.
Re: Deathsystem [zcmd][sscanf] -
Deadpoop - 29.07.2016
Quote:
Originally Posted by JustMe.77
Hi, following things:
- It's called PAWN and not PAWNO.
- sscanf has been created by ******
- why do you print 2 times that your FS has been loaded?
- Don't use capital letters in the Float part where you're getting the players position (X,Y,Z) use x,y,z.
Other than that, good work
|
What's the problem using capital letters?!
Re: Deathsystem [zcmd][sscanf] - WhiteGhost - 29.07.2016
Quote:
Originally Posted by Deadpoop
What's the problem using capital letters?!
|
Nothing..
PHP код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
Is the same as
PHP код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y z);
Re: Deathsystem [zcmd][sscanf] -
Crayder - 29.07.2016
It's more formal to use lowercase letters for single character variables, just as it is formal to use lowercase letters at the begging of any variable name.
There are a few formal naming conventions in programming that can definitely benefit you if you want a career in programming. Variable name cases are definitely one of them.
https://en.m.wikipedia.org/wiki/Coding_conventions
Re: Deathsystem [zcmd][sscanf] -
wsstylez - 31.08.2016
Quote:
Originally Posted by JustMe.77
Hi, following things:
- It's called PAWN and not PAWNO.
- sscanf has been created by ******
- why do you print 2 times that your FS has been loaded?
- Don't use capital letters in the Float part where you're getting the players position (X,Y,Z) use x,y,z.
Other than that, good work
|
Lol dude its called pawno check it in the folder.
Re: Deathsystem [zcmd][sscanf] -
Ultraz - 31.08.2016
Awesome work , Keep on .
Also guys this is a filterscript not a place for fighting .