04.09.2010, 23:59
(
Последний раз редактировалось Moss; 05.09.2010 в 02:08.
)
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/vipisland", cmdtext, true) == 0){
if(IsPlayerVipType(playerid,3)) return SendClientMessage(playerid, 0xF60000AA, "You're Not A VIP Member!");
if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, 0xF60000AA, "You Don't have $20000 To Go To The VIP Island!");
GivePlayerMoney(playerid, -20000);
SetPlayerPos(playerid, -3007.594238 ,1680.358887 ,-24.591661);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerHealth(playerid,100);
SendClientMessage(playerid, 0x3DD926FF, "Welcome To The VIP Island");
return 1;
}
{
if(strcmp("/vipisland", cmdtext, true) == 0){
if(IsPlayerVipType(playerid,3)) return SendClientMessage(playerid, 0xF60000AA, "You're Not A VIP Member!");
if(GetPlayerMoney(playerid) < 20000) return SendClientMessage(playerid, 0xF60000AA, "You Don't have $20000 To Go To The VIP Island!");
GivePlayerMoney(playerid, -20000);
SetPlayerPos(playerid, -3007.594238 ,1680.358887 ,-24.591661);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerHealth(playerid,100);
SendClientMessage(playerid, 0x3DD926FF, "Welcome To The VIP Island");
return 1;
}