ROLF WTF WTF WTF WTF ROLF Explain Clearly and give us some COde we will modify it
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteelse if (strcmp(cmd, "kick", true) == 0) {
new reason[256], plr, szMsg[256];
tmp = strtok(cmdtext, idx), reason = strtok(cmdtext, idx), plr = FindPlayerIDFromString(tmp);
else if (!strlen(reason)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c kick [Nick/ID] [Reason]");
else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
else {
format(szMsg,sizeof(szMsg),"Admin %s kicked player:[ %s ] Reason:[ %s ]",gPlayers[playerid],gPlayers[plr],cmdtext[strlen(tmp)+6]);
SendClientMessageToAll(COLOR_GREEN,szMsg);
Kick(plr);
}
return 1;
Quoteelse if (strcmp(cmd, "kick", true) == 0) {
new reason[256], plr, szMsg[256];
tmp = strtok(cmdtext, idx), reason = strtok(cmdtext, idx), plr = FindPlayerIDFromString(tmp);
if(!IsPlayerAdmin(playerid) SendClientMessage(playerid,COLOR_RED,"You are not Rcon Admin");
else if (!strlen(reason)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c kick [Nick/ID] [Reason]");
else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
else {
format(szMsg,sizeof(szMsg),"Admin %s kicked player:[ %s ] Reason:[ %s ]",gPlayers[playerid],gPlayers[plr],cmdtext[strlen(tmp)+6]);
SendClientMessageToAll(COLOR_GREEN,szMsg);
Kick(plr);
}
return 1;
Quoteelse if (strcmp(cmd, "back", true) == 0) {
new name[20], string[128];
GetPlayerName(playerid, name, 20);
format(string, sizeof(string), "%s, Is Back!", name);
SendClientMessageToAll(COLOR_GREEN, string);
return 1;
}
QuoteGetPlayerName(playerid, name, 20);
Quoteelse if (strcmp(cmd, "back", true) == 0) {
new string[128];
format(string, sizeof(string), "%s, Is Back!", gPlayers[playerid]);
SendClientMessageToAll(COLOR_GREEN, string);
return 1;
QuoteSuch us , i type /heal , but i am not in hospital. So " u are not in the hosopital '
how can i Identify the location , setplayerpos or ?
So , What how i can write in the pawno .. I don' t know ..
and how can I creat a icon On the radar,,, Thanks .
Quoteelse if (strcmp(cmd, "!heal", true) == 0) {
new Float:Health; GetPlayerHealth(playerid,Health);
if(strcmp(GetPlayerLocation(playerid), "Hospital-Vice-Point-Vice-City-Beach", true) == 1)
SendClientMessage(playerid,COLOR_GREEN, "You have to be at the hospital.");
else if (Health >= 100) SendClientMessage(playerid,COLOR_GREEN,"Error: You are healthy!");
else {
SetPlayerHealth(playerid,100.0);
SendClientMessage(playerid,COLOR_GREEN,"You have been healed.");
}
return 1;
}
Quoteelse if (strcmp(cmd, "!heal", true) == 0) {
new Float:Health; GetPlayerHealth(playerid,Health);
if (Health >= 100) SendClientMessage(playerid,COLOR_GREEN,"Error: You are healthy!");
else {
SetPlayerHealth(playerid,100.0);
SendClientMessage(playerid,COLOR_GREEN,"You have been healed.");
}
return 1;
}
Quote/admin rcon_password
Quote/s iconblait will give u Coords then Hurry Don't miss the Coordsor anyone will with Talk will remove it
Quote/set 16 Icon-ID Pos:x Pos:y Pos:zfor Easy i give u example
Quote/s posicon
QuoteClass : 0 0 0 0 -396.45454 324.68541 -435.4442 29.54544 0 0 0 0and next i type
Quote/set 16 23 -396.45454 324.68541 -435.4442EDIT: the icon comes for Player who are in game not for then who after icon appear Connect server you will have to type it again when some one connect's