Check If Player's Score?
#1

Hello
My server has a Neon System i want that
when player types /neon
It first check's that if player has more than 500 scores
Then it will open the neon dialog
If the player has less than 500 scores
It just says
You need to have at least 500 scores to use neon System
Reply
#2

Create a timer to check if player score is or greater than 500
Reply
#3

How to Do THat?
Someone PLeasE Help Me
Reply
#4

Quote:
Originally Posted by GreTex
Посмотреть сообщение
Create a timer to check if player score is or greater than 500
Why?...
There's no need for a timer...
OT: here is an EXAMPLE.
pawn Код:
Command:neons(playeird,params[]) {
if(GetPlayerScore(playerid) >= 500) return SendClientMessage(playerid, -1, "You don't have 500 score bro");
// showing dialog here....
Reply
#5

pawn Код:
Command:neons(playeird,params[]) {
if(GetPlayerScore(playerid) < 500) return SendClientMessage(playerid, -1, "You don't have 500 score bro");
// showing dialog here....
Little helper u did that if player score is less than 500 then only it will show the Dialog.I've corrected it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)