• Welcome to Vice City Multiplayer.
 

Some usefull functions

Started by heekz.shadow, February 10, 2011, 06:47:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Aldo

Quote from: heekz.shadow on February 14, 2011, 04:46:04 PM
Do someone minded at taking scripts from sa-mp and converting into vcmp ?  ::) ::) ::) ::)

That's easy  ;D
Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

Robd

Ya but it will take out some of the functionality
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

Aldo

Quote from: Robd on February 15, 2011, 12:21:56 AM
Ya but it will take out some of the functionality

Not Really, because im pro at it  :D
Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

FREESTLYE_WILSON

Quote from: yazeen on February 14, 2011, 02:15:27 AM
shadow can u give the code for making properties pickup by typing !addprop my gups have this cmd but dont work so i deleted it can u give me the code plse 
addprop wont work on gups and fbs use gus i didnt use gus xD

heekz.shadow

#19
Wilson,I didn't understood a word.  ???  ???  ???

Theoreticlly,the best way to make VC:MP Scripts what you couldn't find,and you are a beginner,is downloading SA:MP Scripts and studying'em.

BTW I will list,when I will reach my home,my Ping-Limiter. :D

Aldo,trust me,a guy who can't make a !cop or !wanted command and who don't knows about random use......

QuoteIm a pro at it
*FAIL*

heekz.shadow cheers Aldo.
heekz.shadow advises FREESTYLE_WILSON to improve his english.
heekz.shadow advises some players of VC:MP to use Past Tense Verbs when they are needed.
heekz.shadow hides.


Pro Scripter[/b][/i][/u]

heekz.shadow

Quote from: yazeen on February 14, 2011, 02:15:27 AM
shadow can u give the code for making properties pickup by typing !addprop my gups have this cmd but dont work so i deleted it can u give me the code plse 

You could just read FAMP or TDHCLAN.ro and see that AddStaticPickup is usable just in OnGameModeInit ( I hope that I can say yet )


Pro Scripter[/b][/i][/u]

BIG[H]

My Guru FORUM MUST VISITmegavcmp.freeforums.org

BIG[H] = BIG HaLL

Aldo

Quote from: heekz.shadow on February 15, 2011, 03:31:33 PM
QuoteIm a pro at it
*FAIL*

Yes, I fail but I converted SA:MP style property,car,bizz systems to VC:MP  ;)
Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

heekz.shadow

QuoteI converted bizz
*FAIL*

Aldo, every freestyle and lots of peoples saw you lying.I saw your server.What you said...eh.... Don't exists....


Pro Scripter[/b][/i][/u]

Aldo

Quote from: heekz.shadow on February 15, 2011, 05:29:55 PM
QuoteI converted bizz
*FAIL*

Aldo, every freestyle and lots of peoples saw you lying.I saw your server.What you said...eh.... Don't exists....
Why would I post my scripts such as my Clan Protection?

Why would I put RP scripts on a DM server? lol

>implying I don't have a file on my pc with scripts in it

>implying your english is pro

Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

Robd

^.^
how long have these "Scripting masterminds" been fighting, how about some 'Usefule Functions' in this topic.
I have idea settle your argument, whoever gives awesomess functions wins...
wins wat? idk, definetly not bragging rights because u too are bad enough already

now...

public SetPlayerWanted(playerid, amount)
{
new Wanted;
PlayerInfo[playerid][wanted] = amount;
Wanted = PlayerInfo[playerid][wanted];
GameTextForPlayerBottom(playerid, WantedBar(Wanted));
}

You will have to define some of the player info, but u can use all that data pretty well in an RPG script
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management

Boss

Quote from: heekz.shadow on February 15, 2011, 03:31:33 PM
heekz.shadow advises FREESTYLE_WILSON to improve his english.
heekz.shadow advises some players of VC:MP to use Past Tense Verbs when they are needed.

Quote from: heekz.shadow on February 15, 2011, 03:31:33 PM
I didn't understood a word.

*facepalm*

I also advise those who request code to stop making modes asap. If you can't make a simple function all by yourself, you obviously won't be able to make a mode attractive enough for people to play it (especially considering 80 out of 100 vc-mp players are only playing at XE). If you want a good new mode - pay someone to do it, otherwise you're wasting your time.

Charleyutton

Everyone has to start somewhere Boss, the best way of learning is observing and trying.

Some people learn slower than others, for a variety of reasons, so don't be so put-downing.

I would have thought the last job of a beta tester would be to discourage activity in this board.
Charleyutton, VU clan leader, VCDC co-creator, SvM Server Owner, Squirrel Scripter. http://vu.vrocker-hosting.co.uk http://svm.vrocker-hosting.co.uk XE Scripter

Aldo

#28
Quote from: Robd on February 17, 2011, 03:11:09 AM
^.^
how long have these "Scripting masterminds" been fighting, how about some 'Usefule Functions' in this topic.
I have idea settle your argument, whoever gives awesomess functions wins...

That's pointless and I rather help people with scripting so they can learn




Quote from: Boss on February 17, 2011, 09:29:17 AM
I also advise those who request code to stop making modes asap. If you can't make a simple function all by yourself, you obviously won't be able to make a mode attractive enough for people to play it (especially considering 80 out of 100 vc-mp players are only playing at XE). If you want a good new mode - pay someone to do it, otherwise you're wasting your time.

Like Charleyutton said people have to start somewhere but Boss has a point, why make a gamemode  if you cant make a basic function?
I started at the bottom like these guys but I had a background in scripting (SA:MP) but now anyways back on topic.


PS if heekz still wants to shit on me use my PM so you don't embarrass yourself on these forums.




Quote from: Robd on February 17, 2011, 03:11:09 AM
public SetPlayerWanted(playerid, amount)
{
new Wanted;
PlayerInfo[playerid][wanted] = amount;
Wanted = PlayerInfo[playerid][wanted];
GameTextForPlayerBottom(playerid, WantedBar(Wanted));
}

You will have to define some of the player info, but u can use all that data pretty well in an RPG script


error 017: undefined symbol "WantedBar"


Might wanna fix that  :D

Paruni VC:MP Leader
Join Today: 178.63.52.144:5193
The Only Pawn Server With Clan Protection

Robd

lol ya, thats an array i forgot to include
here ya go.
public WantedBar(Float:data)
{
new x[256];
if (data == 0) x = "~b~>>>>>>";
else if (data == 1) x = "~b~>>>>>~w~>";
else if (data == 2) x = "~b~>>>>~w~>>";
else if (data == 3) x = "~b~>>>~w~>>>";
else if (data == 4) x = "~b~>>~w~>>>>";
else if (data == 5) x = "~b~>~w~>>>>>";
else if (data == 6) x = "~w~>>>>>>";
return x;
}
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management