C:\Users\hpi\Desktop\SCRIPTING\Life Role Play\gamemodes\l-rp-v1.pwn(87) : warning 217: loose indentation
C:\Users\hpi\Desktop\SCRIPTING\Life Role Play\gamemodes\l-rp-v1.pwn(89) : warning 213: tag mismatch
public ShowStats(playerid,targetid)
{
new name[MAX_PLAYER_NAME];
new cash = GetPlayerMoney(targetid);
new coordsstring[128];
format(coordsstring, sizeof(coordsstring),"|_________________________________________________| %s (%d) |_________________________________________________|",name, targetid);
SendClientMessage(playerid, COLOR_GREEN,coordsstring);
format(coordsstring, sizeof(coordsstring), "|Level: %d | Cash: $%d", level,cash);
}
new level = GetPlayerScore[targetid); |
stock ShowStats(targetid)
{
new name[MAX_PLAYER_NAME];
new cash = GetPlayerMoney(targetid);
new level = GetPlayerScore(targetid);
new coordsstring[128],coordsstring2[128];
format(coordsstring, sizeof(coordsstring),"|_________________________________________________| %s (%d) |_________________________________________________|",name, targetid);
SendClientMessage(targetid, COLOR_GREEN,coordsstring);
format(coordsstring2, sizeof(coordsstring2), "|Level: %d | Cash: $%d", level,cash);
SendClientMessage(targetid, COLOR_GREEN,coordsstring2);
}
C:\Users\hpi\Desktop\SCRIPTING\Life Role Play\gamemodes\l-rp-v1.pwn(83) : error 025: function heading differs from prototype |
stock ShowStats(targetid) |