• 05 Juin 2026, 00:14:31


Voir les contributions

Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.


Messages - callofkill

Pages: [1]
1
Scripting SA-MP [Pawn center] / Re : Pb scripting
« le: 30 Août 2008, 03:18:31 »
lol j'ai compris sa mais je veut maintenant juste comment crée un timer ?
tu me dit si je suis :hs

2
Scripting SA-MP [Pawn center] / Re : Pb scripting
« le: 30 Août 2008, 01:16:16 »
Merci pour t'es réponse mais voila:
1)Comment crée un timer?

2)Je c que c'est au skate park mais comment en mettre une autre mais pas n'importe quoi ?

Merci encore

3
Scripting SA-MP [Pawn center] / Re : Pb scripting
« le: 29 Août 2008, 23:14:25 »
Bonjour ,
voila jai 2 probleme:
1) Je met le code de Nikko™ :
                new Float:x,Float:y,Float:z;
   new Float:distance,value;
   new km;
   for(new i=0; i<SLOTS; i++)
   {
      GetPlayerPos(i, x, y, z);
      distance = floatsqroot(floatpower(floatabs(floatsub(x,SavePlayerPos[LastX])),2)+floatpower(floatabs(floatsub(y,SavePlayerPos[LastY])),2)+floatpower(floatabs(floatsub(z,SavePlayerPos[LastZ])),2));
      value = floatround(distance * 5000);
      if(UpdateSeconds > 1)
      {
         value = floatround(value / UpdateSeconds);
      }
      //km = floatround(value/1000);

      SavePlayerPos[LastX] = x;
      SavePlayerPos[LastY] = y;
      SavePlayerPos[LastZ] = z;

      if(floatround(value/1000) >= 140 && IsPlayerInAnyVehicle(i) && (PlayerToPoint(25.0, i, 1822.0105,-1632.0487,12.9347)))
{
        SendClientMessage(i, COLOR_SYSTEM, "(!) Attention, vous avez été flashé par un radar à plus de 150 km/h! (!)");
     return 1;
}


Et il me met sa quand je ve le compilé:

C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(169) : error 010: invalid function or declaration
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(174) : error 010: invalid function or declaration
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(180) : error 010: invalid function or declaration
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(184) : error 010: invalid function or declaration
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(187) : error 010: invalid function or declaration
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(189) : warning 203: symbol is never used: "distance"
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(189) : warning 203: symbol is never used: "km"
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(189) : warning 203: symbol is never used: "value"
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(189) : warning 203: symbol is never used: "x"
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(189) : warning 203: symbol is never used: "y"
C:\Documents and Settings\patrick\Bureau\script\gamemodes\radar.pwn(189) : warning 203: symbol is never used: "z"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

Comment les réglés merci.

2)

Comment trouver la positon du radar ou le player serai freezer et comment fait pour qu'il ne puise pas gruger (le contourner)
Merci a tous. ???

Pages: [1]