- 0
Problema /stats
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Speaker22
Ma ajutati si pe mine va rog din suflet
[pawn]#if defined FILTERSCRIPT
#include <a_samp>
enum pInfo
{
pCash,
pKills,
pDeaths,
pRank,
pGameTime,
pVisits
}
new PlayerInfo[MAX_PLAYERS][pInfo];
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/stats", cmdtext, true, 10) == 0)
{
if(IsPlayerConnected(playerid))
{
new statstring[128];
format(statstring, sizeof(statstring), "| Statistici | Ucideri: %d | Decese: %d | Bani: $%d |",PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],GetPlayerMoney(playerid));
SendClientMessage(playerid,-1, statstring);
}
return 1;
}
return 0;
}
#endif[/pawn]
la aceasta imi da
[pawn]D:\Documents and Settings\George.GEORGE-6EC272F4\Desktop\Sa-MP Servers\filterscripts\Stats.pwn(31) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
[/pawn]
Ajutatima va rog din suflet sa numi mai dea error. Multumesc.
8 answers to this question
Recommended Posts