[GameMode] Simple blank script with some things (Dini)
#1

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];
Reply
#2

Good job
Reply
#3

Nice for begginers
Reply
#4

i am not a begginer i scripted it for begginers
Reply
#5

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!
Reply
#6

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

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
Reply
#8

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.
Reply
#9

I would love to learnabout these cells and numbers.
Reply
#10

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

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

it's nothing cool at this game mode..
Reply
#13

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.
Reply
#14

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

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.
Reply
#16

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

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?
Reply
#18

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)