Posts: 570
Threads: 55
Joined: Oct 2016
Hello guys, i've been scripting VIP System,
just would make /freevip for players can type it to get freevip.
PHP код:
if(sscanf(params, "i", playerid))
{
SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SERVER] {FFFFFF}Usage: \"freevip"\"");
}
it is Correct or not? help!
Posts: 1,219
Threads: 51
Joined: Jul 2012
Posts: 283
Threads: 67
Joined: Jun 2015
Quote:
Originally Posted by [Bios]Marcel
Ryder pls ....
|
Why r u creating this for it? =DDDDD
Posts: 1,219
Threads: 51
Joined: Jul 2012
Quote:
Originally Posted by Pearson
Why r u creating this for it? =DDDDD
|
I believe you quoted the wrong person
Posts: 570
Threads: 55
Joined: Oct 2016
Ok guys, open a chat room and don't help me i'll never post scripting help :/
Edit: Thanks Scripter18
Posts: 1,219
Threads: 51
Joined: Jul 2012
If his script isn't bullshit, you wont be able to to do any commands without being logged in, so no need to check that
@Ryder the thing is , youa re asking for help when u shouldnt
Posts: 570
Threads: 55
Joined: Oct 2016
Код:
COMMAND:freevip(playerid, params[])
{
if(playerData[playerid][playerLoggedIn])
{
if(playerData[playerid][playerLevel] >= 0)
{
new
message[128],
message2[128]
;
if(sscanf(params, "i", playerid))
{
SendClientMessage(playerid, COLOR_WHITE, "{B7B7B7}[SERVER] {FFFFFF}Usage: \"freevip"\"");
}