SA-MP Forums Archive
[GameMode] Simple blank script with some things (Dini) - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Simple blank script with some things (Dini) (/showthread.php?tid=300794)



Simple blank script with some things (Dini) - Omer_Tabib - 01.12.2011

Simple Dini account and vehicle system with cmd to create a vehicles, -> for begginers <-
The script is using sscanf2 and zcmd...

Vehicles spawns from dini files..

Pastebin: http://pastebin.com/GVAhsZkQ

have fun..

EDIT: i made a mistake at pname.
i did pname[255];
it needs to be pname[MAX_PLAYER_NAME];


Re: Simple blank script with some things (Dini) - N0FeaR - 01.12.2011

Good job


Respuesta: Simple blank script with some things (Dini) - [Nikk] - 02.12.2011

Nice for begginers


Re: Simple blank script with some things (Dini) - Omer_Tabib - 02.12.2011

i am not a begginer i scripted it for begginers


Re: Simple blank script with some things (Dini) - Lorenc_ - 02.12.2011

Quote:
Originally Posted by Omer_Tabib
View Post
i am not a begginer i scripted it for begginers
NICE JOB, VERY GOOD USE OF '128-256' CELLS! EXCELENT WORK.

new file[255];
new pname[255];

ME LOVE THAT!


Re: Simple blank script with some things (Dini) - Rudy_ - 02.12.2011

Mhm.. why you acting like kids? are you joking?
Nice one.. post some more info i guess..


Re: Simple blank script with some things (Dini) - nuriel8833 - 02.12.2011

Quote:
Originally Posted by Omer_Tabib
View Post
i am not a begginer i scripted it for begginers
That's what he meant lol .__.
---
Very nice for beginners


Re: Simple blank script with some things (Dini) - antonio112 - 02.12.2011

Quote:
Originally Posted by Omer_Tabib
View Post
i am not a begginer i scripted it for begginers
You may not be a beginner but you surely are not an experienced scripter. I mean, come on ... Why would you use new vFile[255]? When all you need is like what?

pawn Code:
format(vfile, sizeof(vfile), "Vehicles/%d.ini", vid);
Let's count: "Vehicles/%d.ini": At maximum you could find there is 16. Let's make it 20, just to be sure.

So, why would you use 255 characters when you can use 20 ?

Bad gamemode in my opinion and I wouldn't encourage people to use it. That's just my opinion.


Re: Simple blank script with some things (Dini) - PlayHard - 02.12.2011

I would love to learnabout these cells and numbers.


Re: Simple blank script with some things (Dini) - cessil - 18.12.2011

don't re-upload the samp-server.exe files just the script files needed to run the game mode


Re: Simple blank script with some things (Dini) - Hoborific - 19.12.2011

But I thought the higher the cell was the better! I gave mine 4gb of ram
pawn Код:
new pname[4096];



Re: Simple blank script with some things (Dini) - Astralis - 20.12.2011

it's nothing cool at this game mode..


Re: Simple blank script with some things (Dini) - Hoborific - 20.12.2011

Quote:
Originally Posted by Neonman
Посмотреть сообщение
it's nothing cool at this game mode..
Because it's blank you dickhead, of course there is nothing cool, by definition there should be NOTHING.

Jesus, that is like me downloading a GF edit and complaining it is like GF.


Re: Simple blank script with some things (Dini) - Gazmull - 20.12.2011

It would be cooler if you use Y_INI, it's fast


Re: Simple blank script with some things (Dini) - -Rebel Son- - 20.12.2011

There's nothing wrong with Dini for small saving, if you're saving alot, then use something like Yini, Good start otherwise, Very useful for Newbies to learn alittle bit.


Re: Simple blank script with some things (Dini) - seanny - 20.12.2011

Quote:
Originally Posted by Gazmull
Посмотреть сообщение
It would be cooler if you use Y_INI, it's fast
^^^^


Re: Simple blank script with some things (Dini) - rambq - 22.12.2011

im getting a warning:

C:\Users\John Dijks\Desktop\Rambo v1.0.pwn(401) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

And there is no line 401 what to do to fix?


Re: Simple blank script with some things (Dini) - fubar - 22.12.2011

Quote:
Originally Posted by rambq
Посмотреть сообщение
im getting a warning:

C:\Users\John Dijks\Desktop\Rambo v1.0.pwn(401) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

And there is no line 401 what to do to fix?
try this
Код:
#pragma unused ret_memcpy