Jump to content
  • 0

Problema Compilare


XpLoD

Question

Adaug

if(strcmp(cmdtext, "/chilliad", true) == 0)

{new cartype = GetPlayerVehicleID(playerid);

new State=GetPlayerState(playerid);

SetPlayerInterior(playerid,0);

{if(State!=PLAYER_STATE_DRIVER)

{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

ResetPlayerWeapons(playerid);

GameTextForPlayer(playerid,"Welcome To MT Chilliad",2500,3);}

SendClientMessageToAll(COLOR_PINK,"MT Chilliad (/chilliad)");

return 1;}

si cand apas F5

C:\Users\XpLoD\Desktop\lvdmv1.pwn(710) : warning 204: symbol is assigned a value that is never used: "cartype"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Warning.

cum fac sa mearga?? si as mai vrea pe serverul meu sa ma ajutati la o mica chestie.

vreau cand apas TAB sa nu imi arate Cati Bani am sa imi arate cate fraguri am facut nu catii bani am! pls

ll364l6j8dg3et84ks3w.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Adaug

if(strcmp(cmdtext, "/chilliad", true) == 0)

{new cartype = GetPlayerVehicleID(playerid);

new State=GetPlayerState(playerid);

SetPlayerInterior(playerid,0);

{if(State!=PLAYER_STATE_DRIVER)

{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

ResetPlayerWeapons(playerid);

GameTextForPlayer(playerid,"Welcome To MT Chilliad",2500,3);}

SendClientMessageToAll(COLOR_PINK,"MT Chilliad (/chilliad)");

return 1;}

si cand apas F5

C:\Users\XpLoD\Desktop\lvdmv1.pwn(710) : warning 204: symbol is assigned a value that is never used: "cartype"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Warning.

Stergi de acolo new cartype = GetPlayerVehicleID(playerid); si vine:

	if(strcmp(cmdtext, "/chilliad", true) == 0)
{
new State=GetPlayerState(playerid);
SetPlayerInterior(playerid,0);
{if(State!=PLAYER_STATE_DRIVER)
{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}
{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}
ResetPlayerWeapons(playerid);
GameTextForPlayer(playerid,"Welcome To MT Chilliad",2500,3);}
SendClientMessageToAll(COLOR_PINK,"MT Chilliad (/chilliad)");
return 1;}
;)
vreau cand apas TAB sa nu imi arate Cati Bani am sa imi arate cate fraguri am facut nu catii bani am! pls
sub OnPlayerDeath pui
SetPlayerScore(killerid, GetPlayerScore(playerid)+1);

sper sa-ti mearga asta ;D

Link to comment
Share on other sites

pff :|

deci am copiat aia care mi-ai spus tu cu /chilliad nu merge ziceai sa sterg new cartype... imi da alte errori

B haaaaa Ce Dracu NUmai merge NIMKA

l'am sters l';am lasat cum era inainte acuma

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(257) : error 004: function "SendPlayerFormattedText" is not implemented

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(280) : error 017: undefined symbol "strtok"

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(280) : error 033: array must be indexed (variable "cmd")

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(292) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(295) : error 004: function "SendPlayerFormattedText" is not implemented

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(296) : error 004: function "SendPlayerFormattedText" is not implemented

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(297) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(311) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(321) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(333) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(336) : error 004: function "SendPlayerFormattedText" is not implemented

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(337) : error 004: function "SendPlayerFormattedText" is not implemented

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(338) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(351) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(356) : error 017: undefined symbol "strtok"

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(356) : error 033: array must be indexed (variable "tmp")

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(360) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(364) : error 017: undefined symbol "strtok"

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(364) : error 033: array must be indexed (variable "tmp")

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(367) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(395) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(413) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(431) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(477) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(486) : error 079: inconsistent return types (array & non-array)

D:\Donwload\SAMP\gamemodes\lvdmv1.pwn(495) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

si aia cu TAB tot nu merge

ll364l6j8dg3et84ks3w.png

Link to comment
Share on other sites

Guest bL1nd3R

In primu rand e doar un warning ci nu o eroare, deci GM-ul sa compilat...in al 2-lea rand in loc de    if(strcmp(cmdtext, "/chilliad", true) == 0)

{new cartype = GetPlayerVehicleID(playerid);

new State=GetPlayerState(playerid);

SetPlayerInterior(playerid,0);

{if(State!=PLAYER_STATE_DRIVER)

{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

{SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

ResetPlayerWeapons(playerid);

GameTextForPlayer(playerid,"Welcome To MT Chilliad",2500,3);}

SendClientMessageToAll(COLOR_PINK,"MT Chilliad (/chilliad)");

return 1;}

pune    

if(strcmp(cmdtext, "/chilliad", true) == 0)

new cartype = GetPlayerVehicleID(playerid);

new State=GetPlayerState(playerid);

SetPlayerInterior(playerid,0);

if(State!=PLAYER_STATE_DRIVER)

SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

SetPlayerPos(playerid,-2338.8765,-1636.1011,483.7031);}

ResetPlayerWeapons(playerid);

GameTextForPlayer(playerid,"Welcome To MT Chilliad",2500,3);

SendClientMessageToAll(COLOR_PINK,"MT Chilliad (/chilliad)");

return 1;

Link to comment
Share on other sites

a si apropo ... la server cateodata  la admini cand ne lovim cu masina scade viata si creste dar fara sa activam o comanda sau altceva... la playeri normali care nu au admin si la ei lafel fac si alta problema la playeri normali lafel si la admini cateodata cand intra in masina i'a foc .....:| problema server? sau ladmin? :(

--==[sRC]stuntman==--    scz acuma vad am sters linia

{new cartype = GetPlayerVehicleID(playerid);

acuma merge gata....

ll364l6j8dg3et84ks3w.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Laurentiu Florin
      cand dau sa se compileze imi apare asta, cum as putea sa o rezolv?
       

    • By Emanuel
      D:\Server\Gaemode 0\gamemodes\GMMINCEPUT.pwn(73) : error 017: undefined symbol "pSQLID"
      D:\Server\Gaemode 0\gamemodes\GMMINCEPUT.pwn(74) : error 017: undefined symbol "pSQLID"
      Acesta sunt erorile care mile ofera.
      Va rog ajutor
       
    • By CenzoR
      Salut! Am eroarea asta la compilare
      C:\Users\40723\Desktop\GM\pawno\include\YSI\y_hooks.inc(64) : fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      1 Error.
       
      In GM am trecut includeul tot ce trebuie, dar imi da eroare asta, ma poate ajuta cineva? De la ce este?
    • By D3m0n1K
      am si eu urmatoarea eroare ce as putea sa fac?
       
    • By MTC Ionut
      Am o problema atunci cand vreau sa compilez un gm!
      Am modificat datele de la mysql_connect si cand am dat sa compilez imi apare aceasta eroare!

      Din cauza acestei erori nu imi apare gm in format amx!
      Ce pot face?
       
  • 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.