Pawno Compiler

Započeo adapt., Jun 23, 2018, 21:03:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Nema ni error ni warning
Dio skripte:
Compile
Kad stavim ovaj kod : 	if(dialogid == 9)
	{
		if(response)
		{
		    switch(listitem)
		    {
		    case 0;
		    {
				SetPlayerPos(playerid , 641.5447,-501.2662,16.3359,177.3343);
		    }
		    case 1;
		    {
		        SetPlayerPos(playerid , 2691.5886,-1710.2107,11.8478,237.3344);
		    }
		} i kad pokrenem samp-server.exe pise invalid p-code a kad maknem onda normalno radi sve..

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[19:31:34] filterscripts = ""  (string)
[19:31:34] 
[19:31:34] Server Plugins
[19:31:34] --------------
[19:31:34]  Loaded 0 plugins.

[19:31:34] 
[19:31:34] Filterscripts
[19:31:34] ---------------
[19:31:34]   Loaded 0 filterscripts.

[19:31:34] Script[gamemodes/SDM.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[19:31:34] Failed to load 'gamemodes/SDM.amx' script.
[19:31:34] Number of vehicle models: 0

Slika/video ingame problema(obavezno ako je ingame problem): //
Poslednja Izmena: Jun 24, 2018, 11:48:58 PRE PODNE od Bašovski
Moderator: 2018 (( Development ))
Moderator: 2019 (( Forumske igre ))

SetPlayerPos(player , X , Y , Z )

SetPlayerPos(playerid , 641.5447,-501.2662,16.3359,177.3343????);

if(dialogid == 9)
	{
		if(response)
		{
		    switch(listitem)
		    {
		    case 0;
		    {
				SetPlayerPos(playerid , 641.5447,-501.2662,16.3359);
		    }
		    case 1;
		    {
		        SetPlayerPos(playerid , 2691.5886,-1710.2107,11.8478);
		    }
		}

Citat: _LEGIJA_ poslato Jun 23, 2018, 21:06:05 POSLE PODNE
SetPlayerPos(player , X , Y , Z )

SetPlayerPos(playerid , 641.5447,-501.2662,16.3359,177.3343????);

if(dialogid == 9)
	{
		if(response)
		{
		    switch(listitem)
		    {
		    case 0;
		    {
				SetPlayerPos(playerid , 641.5447,-501.2662,16.3359);
		    }
		    case 1;
		    {
		        SetPlayerPos(playerid , 2691.5886,-1710.2107,11.8478);
		    }
		}

Popravio sam al i dalje je isto sve
Moderator: 2018 (( Development ))
Moderator: 2019 (( Forumske igre ))

Nisam ucio prvi put  kod case 0 i case 1 ;  zamjeni sa :

if(dialogid == 9)
{
	if(response)
	{
	    switch(listitem)
	    {
	 	   case 0:
		   {
			SetPlayerPos(playerid , 641.5447,-501.2662,16.3359);
		   }
		   case 1:
		   {
		       SetPlayerPos(playerid , 2691.5886,-1710.2107,11.8478);
		   }
              } 
           }
}
Poslednja Izmena: Jun 23, 2018, 21:51:17 POSLE PODNE od _LEGIJA_

jos ti i pise. u logu
Unkovic.
- Ex. BlackStorm Founder, Owner & Developer
- Ex. Underground Developer.

Oj kralja roka ; na case ahahahha
{ 'HTML, PHP, CSS, JAVASCRIPT, PAWN, C#' }

while(alive) code;

Citat: Comi420 poslato Jun 23, 2018, 22:22:05 POSLE PODNE
Oj kralja roka ; na case ahahahha
Primetio sam i fixao sam hahhahha
Moderator: 2018 (( Development ))
Moderator: 2019 (( Forumske igre ))