Jump to content
  • 0

Giveallscore + CPS


XpLoD

Question

1. GiveAllScore -- Cum pot pune in Ladmin comanda asta  ca , cand vreau sa dau score nu pot sa trb sa fac cu setallscore si eu vreau sa le dau in + nu sa le "PUN" la toti score... si cand sa primeasca score sa zica ca un fel de announce pe mijlocul ecranului  Ai primit atata score... cva de genu:|

2. Cps Errors

C:\Users\XpLoD\Desktop\new.pwn(2427) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\XpLoD\Desktop\new.pwn(2428) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Users\XpLoD\Desktop\new.pwn(2492) : error 017: undefined symbol "CPS_GetPlayerCheckpoint"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.

la inceput e

public OnPlayerEnterCheckpoint(playerid)

{

    new cpid = CPS_GetPlayerCheckpoint(playerid);

    if(cpid == 1)//

{

    SetPlayerPos(playerid,pozitie);

}

    if (cpid == 2)//

{

    SetPlayerPos(playerid,pozitie );

}

return 1;

}

si am mai pus in OnGameIn ala...

//CP

    CPS_AddCheckpoint(Pozitie); //

    CPS_AddCheckpoint(Pozitie); //

ll364l6j8dg3et84ks3w.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

stuntman==--" post="32134" timestamp="1275226440"]

1.ca sa le dai score pui la comanda

for(new i;i<MAX_PLAYERS;i++)
{
    SetPlayerScore(playerid, GetPlayerScore(playerid)+SUMA);
}

2.ai pus [b]#include <CPS>[/b] (sau asa cv?)
poate asa :
for(new i;i<MAX_PLAYERS;i++)
{
    SetPlayerScore(i, GetPlayerScore(i)+SUMA);
}

2.ai pus [b#include <CPLoader>[/b] (sau asa cv?)

tLYRl.gif
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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.