Exercice en Pawn - Dйbutant
#22

[CENTER]
Code:
new chiffre;
new jeux;
public OnGameModeInit();
{
chiffre = random(100);
jeux = 1;
return 1;
}

public OnPlayerText(playerid, text[])
{
new sontext[100]
if(jeux == 1)
{
if(!strcmp(sontexte, chiffre, false))
                        {
                            new string[100], name[MAX_PLAYER_NAME];
                                GetPlayerName(playerid, name, sizeof(name));
                            SendClientMessageToAll(WHITE, "%s gagne 500$. »", name);
                            SendClientMessage(playerid, WHITE, "Vous gagnez 500$");
                            GivePlayerMoney(playerid, 500);
                            jeux = 0;
                        }
return 1;
}
return 1;
}
[/CENTER]
Je sais pas si j'ai rйussi ou pas.
Reply


Messages In This Thread
Exercice en Pawn - Dйbutant - by Dutheil - 16.04.2015, 20:38
Re : Exercice en Pawn - Dйbutant - by Dutheil - 16.04.2015, 23:53
Re : Exercice en Pawn - Dйbutant - by Smocky - 17.04.2015, 15:12
Re : Exercice en Pawn - Dйbutant - by Chipardeur - 17.04.2015, 16:14
Re : Exercice en Pawn - Dйbutant - by Dutheil - 17.04.2015, 16:36
Re : Exercice en Pawn - Dйbutant - by Chipardeur - 18.04.2015, 08:45
Re : Exercice en Pawn - Dйbutant - by S4t3K - 19.04.2015, 11:53
Re: Exercice en Pawn - Dйbutant - by Baltimore - 19.04.2015, 12:04
Re : Exercice en Pawn - Dйbutant - by TheWWorld - 19.04.2015, 12:15
Re : Exercice en Pawn - Dйbutant - by S4t3K - 19.04.2015, 12:19
Re : Exercice en Pawn - Dйbutant - by Dutheil - 19.04.2015, 12:19
Re : Exercice en Pawn - Dйbutant - by TheWWorld - 19.04.2015, 12:28
Re : Exercice en Pawn - Dйbutant - by S4t3K - 19.04.2015, 15:15
Re : Exercice en Pawn - Dйbutant - by MrAlexisX2 - 19.04.2015, 15:24
Re : Exercice en Pawn - Dйbutant - by S4t3K - 19.04.2015, 15:55
Re : Exercice en Pawn - Dйbutant - by MrAlexisX2 - 19.04.2015, 16:16
Re: Exercice en Pawn - Dйbutant - by Adawg - 19.04.2015, 18:52
Re: Exercice en Pawn - Dйbutant - by Maximun - 19.04.2015, 19:14
Re : Exercice en Pawn - Dйbutant - by StreetRP - 19.04.2015, 20:54
Re : Re: Exercice en Pawn - Dйbutant - by Buthers - 19.04.2015, 21:10
Re : Exercice en Pawn - Dйbutant - by Z3N0N - 19.04.2015, 21:45
Re : Exercice en Pawn - Dйbutant - by Skinnz - 24.04.2015, 14:06
Re : Exercice en Pawn - Dйbutant - by BreakStore - 02.05.2015, 14:28
Re : Exercice en Pawn - Dйbutant - by LordFalcon - 02.05.2015, 22:37
Re : Exercice en Pawn - Dйbutant - by Dutheil - 02.05.2015, 22:47
Re : Exercice en Pawn - Dйbutant - by Sus-Pets - 02.05.2015, 22:49
Re : Exercice en Pawn - Dйbutant - by BreakStore - 02.05.2015, 22:53
Re : Exercice en Pawn - Dйbutant - by Dutheil - 02.05.2015, 22:55
Re: Exercice en Pawn - Dйbutant - by d0wze - 03.05.2015, 04:58
Re : Exercice en Pawn - Dйbutant - by Dutheil - 03.05.2015, 08:23
Re : Re: Exercice en Pawn - Dйbutant - by Dutheil - 05.11.2015, 18:38
Re: Exercice en Pawn - Dйbutant - by Jabern - 05.11.2015, 18:39
Re : Exercice en Pawn - Dйbutant - by Buthers - 05.11.2015, 18:47
Re : Exercice en Pawn - Dйbutant - by Dutheil - 05.11.2015, 19:03
Re: Exercice en Pawn - Dйbutant - by Jabern - 05.11.2015, 19:03
Re : Exercice en Pawn - Dйbutant - by S4t3K - 06.11.2015, 10:27
Re : Exercice en Pawn - Dйbutant - by S4t3K - 08.11.2015, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)