My VIP doenst work for only VIPS and my teleport..
#1

I am trying to make my server a bit VIP friendly i am making all types of commands !

So first my VIP system for neon it is just it work for not VIP to , And i want for only lvl 2 vips !

Quote:

CMD:neon(playerid,params[])
{
#pragma unused params
if(Player[playerid][VipRank] == 2)
{
GivePlayerMoney(playerid,-5000);
SendClientMessage(playerid, COLOR_RED, "Your 500 Rupees Have Been Taken By Using The Command");
ShowPlayerDialog(playerid, 45, DIALOG_STYLE_MSGBOX, "VIP Neon System Commands", "/blue , /red , /green , /white , /pink , /yellow , /removeneon", "THANKS", "NOPE");
}
else
{
SendClientMessage(playerid, COLOR_RED, "You're not a VIP");
}
return 1;
}

How to teleport a player while in a car ? if i do this just the player will be tped not the vehicle

Quote:

command(lowtune, playerid, params[]) {

if(Player[playerid][Viplevel] >= 2) {

SetPlayerInterior(id, SpawnInt);
SetPlayerPos(id, SpawnX, SpawnY, SpawnZ);
SetPlayerVirtualWorld(id, 0);
SendClientMessage(playerid, RED, "You're teleported to LOW rider tuning!");
}
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)