Jump to content
  • 0

pomoc Porty


Guest huslista

Dotaz

16 odpovědí na tuto otázku

Recommended Posts

  • 0

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(325) : warning 202: number of arguments does not match definition

C:\DOCUME~1\USER\Desktop\b.pwn(376) : warning 225: unreachable code

C:\DOCUME~1\USER\Desktop\b.pwn(377) : warning 217: loose indentation

C:\DOCUME~1\USER\Desktop\b.pwn(381) : warning 217: loose indentation

C:\DOCUME~1\USER\Desktop\b.pwn(389) : error 055: start of function body without function header

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

 

1 Error "help" "help" "help"

Link to comment
Share on other sites

  • 0

public OnSetPlayerPos(playerid);

{

AddPlayerClass(11,1608.8577,1827.3694,10.8203,343.8417,0,0,0,0,0,0);/hospital

AddPlayerClass(120,1473.9213,1780.9507,10.8125,263.6377,0,0,0,0,0,0);/lvletisko

AddPlayerClass(120,1420.5613,-2492.5190,13.5547,263.6377,0,0,0,0,0,0);/lsletisko

AddPlayerClass(120,-1671.2374,-174.6528,14.1484,263.6377,0,0,0,0,0,0);/sfletisko

AddPlayerClass(11,477.4736,-1876.2039,3.1027,177.0444,0,0,0,0,0,0);/bigcesta

 

A STALE ERROR PISE 1 NWM PRECO "help" "help" "help" "help" "help"

Link to comment
Share on other sites

  • 0

public OnSetPlayerPos(playerid);

{

AddPlayerClass(11,1608.8577,1827.3694,10.8203,343.8417,0,0,0,0,0,0);//hospital

AddPlayerClass(120,1473.9213,1780.9507,10.8125,263.6377,0,0,0,0,0,0);//lvletisko

AddPlayerClass(120,1420.5613,-2492.5190,13.5547,263.6377,0,0,0,0,0,0);//lsletisko

AddPlayerClass(120,-1671.2374,-174.6528,14.1484,263.6377,0,0,0,0,0,0);//sfletisko

AddPlayerClass(11,477.4736,-1876.2039,3.1027,177.0444,0,0,0,0,0,0);//bigcesta

/sfletisko musis tam mat dve ciarky //

Link to comment
Share on other sites

  • 0

Skus to takto

 

public OnPlayerCommandText(playerid,cmdtext[])

{

if(!strcmp(cmdtext,"/nemocnica",true)

{

SetPlayerPos(playerid,1608.8577,1827.3694,10.8203);//hospital -pozicia nemocnici

return 1;

}

return 0;

}

 

ked som dobre pochopill ze chces teleporty

Link to comment
Share on other sites

  • 0

to co máš je uplna blbost ... zadnej public

OnSetPlayerPos neexistuje .. (teda jeste jsem ho nevidel) ..

a addplayerclass slouzi pro pridani postavy do vyberu postav (na zacatku) ... "teleport" udelas

SetPlayerPos(playerid,x,y,z); .. mimo1188 ti to napsal .. zkus to tak (btw do onplayer command text si dej jenom

if(!strcmp(cmdtext,"/nemocnica",true)
{
SetPlayerPos(playerid,1608.8577,1827.3694,10.8203);//hospital -pozicia nemocnici
return 1;
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...