14.12.2013, 14:49
pawn Код:
if(strcmp(cmd,"/points",true)==0)
{
for(new i; i < MAX_POINTS; i++)
{
if (Points[i][Type] >= 0)
{
format(string, sizeof(string), "Name: %s | Owner: %s | Captured By: %s | Hours: %d",
PlayerName(targetid),PlayerName(playerid),PlayerName(playerid),ptime);///Mistake was here
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
return 1;
}