Randomising...
#1

Hey. Is there any way to randomise money? Like if someone robbed a player/store the money he robbed will be randomised. How can i do that?
Reply
#2

Hello.

You must work with the function random.
PHP код:
new money random(20000)+1
The Money will get a value between 1 and 20000.
Reply
#3

How can i create a character [a type of player which stands]?. I'm going to create a system in which a player aims at a character and will press Y and a dialog will show. All i want to know is how to create that character
Reply
#4

You can use Actors, they don't Need a Slot.
https://sampwiki.blast.hk/wiki/CreateActor
Reply
#5

You can use the function GetPlayerTargetActor in combination of a timer to see if a player is aiming at the actor.
Reply
#6

I'm using JakAdmin system for my new gamemode. But the values which i put to write on register, i.e 1500 money and 1 score won't be given to player neither my SetPlayerColor works
Reply
#7

Post in JakAdmin's release thread.
Reply
#8

And why SetPlayerColor won't work?
Reply
#9

Because you refuse to ask the creator.
Reply
#10

It didn't worked before too when i was not using any admin system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)