I need a bit of help
#1

Allright, first of all im trying to make a CMD for Rcon wich is /Setvip [ID] [1] (1 means = VIP) So i DO NOT Want it to save on userfiles or W/e i just wan't to know how can i define the VIP "Usergroup" and so.

Allso is there any kind of callback like
"Public OnPlayerConnect"
Bla Bla Bla
IfPlayerName(playerid,"playername");?
Reply
#2

i dont get the first question but the other
pawn Код:
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
if(strcmp(playername,"Name"))
{
// something
}
Reply
#3

Quote:
Originally Posted by MarkoN
Посмотреть сообщение
i dont get the first question but the other
pawn Код:
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
if(strcmp(playername,"Name"))
{
// something
}
Where am I suposed to do that for Example I want it like

pawn Код:
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
if(strcmp(playername,"Lopez"))
{
SendClientMessage,COLOR_RED,"Welcome back Lopez");
GivePlayerWeapon(playerid,38,9999);
GivePlayerMoney(playerid,999999999999999999999);
SetPlayerHealth(playerid,10000);
SetPlayerArmour(playerid,10000);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)