26.06.2015, 14:17
Does anyone know where I can find a 'donate' system, one needs a serial (password/key) to get something ..
CMD:vl/*PASS HERE*/(playerid,params[])
{
if(GetPVarInt(playerid, "VIP") != 0) return SendClientMessage(playerid, -1, "You are already logged in!");
SetPVarInt(playerid, "VIP",1);
SendClientMessage(playerid, -1, "You've successfully logged in to receive your VIP status!");
/*Place your code to receive the VIP level as example VIPLevel[playerid] = 1; */
return 1;
}
It's quite simple. Here is a simple code created by me:-
PHP код:
|