09.07.2013, 18:35
Olб,queria um sistema de Score que mostrasse em TextDraw o Score,e em 40 minutos ganhavam 1 level/Score,e tambйm o comando de dar Score que quando o adm desse o score,mudasse tambйm no TextDraw tem jeito?
forward PayDay();
SetTimer("PayDay", 2400000, true);
public PayDay() {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
PlayerPlaySound(i,1057, 0.0, 0.0, 0.0);
SetPlayerScore(i, GetPlayerScore(i) + 1);
GivePlayerMoney(i, 1000);
GameTextForPlayer(i, "Pagamento.. Level UP", 4000, 1);
} }
return 1;
}
C:\Users\aa\Desktop\Server SAMP\gamemodes\GM-BML.pwn(8) : error 021: symbol already defined: "SetTimer"
C:\Users\aa\Desktop\Server SAMP\gamemodes\GM-BML.pwn(724) : error 021: symbol already defined: "SetTimer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
forward PayDay();
SetTimer("PayDay", 2400000, true);
public PayDay() {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
PlayerPlaySound(i,1057, 0.0, 0.0, 0.0);
SetPlayerScore(i, GetPlayerScore(i) + 1);
GivePlayerMoney(i, 1000);
GameTextForPlayer(i, "Pagamento.. Level UP", 4000, 1);
} }
return 1;
}
pawn Код:
|