Trucking 0 Odesláno: 4. Duben, 2009 Share Odesláno: 4. Duben, 2009 Prosim vas mužete tady napsat nejaky lehky tut na warp?? ja se koukal na *****box a tam je jeden ale to mi hodilo tolik chyb že to je hruza :-( Budte tak hodni a prcněte sem tut na warpy... děkuji Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 4. Duben, 2009 Share Odesláno: 4. Duben, 2009 Toto ti dufam pomoze if(strcmp(cmdtext, "/zjazd1", true)==0) { new sendername[100]; new string [128]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, -1089.9718,284.1653,206.2482); format(string, sizeof(string), "Player %s has warped to stunt zjazd1.", sendername); SendClientMessageToAll(COLOR_YELLOW, string); } else { SetPlayerPos(playerid, -1089.9718,284.1653,206.2482); format(string, sizeof(string), "Player %s has warped to stunt zjazd1.", sendername); SendClientMessageToAll(COLOR_YELLOW, string); } return 1; } Link to comment Share on other sites More sharing options...
0 Adamos 1 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 tu je tutov na warpy dost.Podle mne zbytecne zalozena temata :spam: Link to comment Share on other sites More sharing options...
0 Paulie 0 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 Dam ti tu jeden wapr je to zlechčený takže do onplayercommandtext dej if(strcmp(cmdtext, "/prikaz", true) == 0) { // TEXT PRIKAZU SetPlayerInterior(playerid, 0); // pokud chcete do budovy musite nastavit na id budovy SetPlayerPos(playerid,Y Y Z ); // pozice X,Y,Z SendClientMessage(playerid, COLOR_GREEN, "Byl/a jsi odwarpovan/a."); GivePlayerMoney(playerid, -500); return 1; } Link to comment Share on other sites More sharing options...
0 Psychedelic 13 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 Hlasí my to pár errorů C:\Documents and Settings\Daniela\Plocha\Untitled.pwn(4) : error 001: expected token: ";", but found "if" C:\Documents and Settings\Daniela\Plocha\Untitled.pwn(9) : error 010: invalid function or declaration C:\Documents and Settings\Daniela\Plocha\Untitled.pwn(11) : warning 203: symbol is never used: "onplayercommandtext" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. řádek 4: if(strcmp(cmdtext, "/gc", true) == 0) { // TEXT PRIKAZU řádek 9 : return 1; řádek 11: Tam vůbec není Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 Problem je v tom ze ¨ty to nevkladas do publicov ktore tam mas ale ty si ich napises a ty ich napisat nevies Link to comment Share on other sites More sharing options...
0 Psychedelic 13 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 Ale já tam nemám onplayercommandtext tak jak to mam udělat? Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 rofl ty mas nejake divne pawno, si stiahni normalne pawno Link to comment Share on other sites More sharing options...
0 Adamos 1 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 on podla mna da file, new a vymaze to co sa mu tam zjavi Link to comment Share on other sites More sharing options...
0 Psychedelic 13 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 Mam tam tohle když dám new #include forward SnowTimer(); new Spawned[MAX_PLAYERS]; public OnGameModeInit() { SetTimer("SnowTimer",10000,1); return 1; } public OnPlayerConnect(playerid) { for(new o=0; o<60; o++) CreatePlayerObject(playerid,354,0,0,0,0,0,0); Spawned[playerid] = 0; return 1; } public OnPlayerSpawn(playerid) { Spawned[playerid] = 1; return 1; } public OnPlayerDeath(playerid, killerid, reason) { Spawned[playerid] = 0; return 1; } public SnowTimer() { for(new i=0; i { SetWorldTime(24); new Float:Pos[3],Float:pObjectPos[3]; GetPlayerPos(i,Pos[0],Pos[1],Pos[2]); for(new b=0; b<60; b++) { if(b < 20) SetPlayerObjectPos(i,b,Pos[0]+random(40)-4,Pos[1],Pos[2]+30); if(b < 40 && b > 20) SetPlayerObjectPos(i,b,Pos[0]-random(30)+3,Pos[1],Pos[2]+30); if(b < 50 && b > 40) SetPlayerObjectPos(i,b,Pos[0],Pos[1]+random(37)-2,Pos[2]+30); if(b > 50) SetPlayerObjectPos(i,b,Pos[0],Pos[1]-random(39)+2,Pos[2]+30); GetPlayerObjectPos(i,b,pObjectPos[0],pObjectPos[1],pObjectPos[2]); MovePlayerObject(i,b,pObjectPos[0],pObjectPos[1],Pos[2],5); } } return 1; } Link to comment Share on other sites More sharing options...
0 Trucking 0 Odesláno: 5. Duben, 2009 Author Share Odesláno: 5. Duben, 2009 Tak si ho tam vytvoř ne public OnPlayerCommandText(playerid, cmdtext[]) { return 1; } :rap: Link to comment Share on other sites More sharing options...
0 Psychedelic 13 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 C:\DOCUME~1\PATRIK~1.MSH\Plocha\GT.pwn(3114) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. hlásí my to tenhle error řádek 3114 : if(strcmp(cmdtext,"/warp",true) == 0); { // TEXT PRIKAZU Link to comment Share on other sites More sharing options...
0 Adamos 1 Odesláno: 5. Duben, 2009 Share Odesláno: 5. Duben, 2009 skus takhle: if(strcmp(cmdtext,"/warp",true) == 0) { // TEXT PRIKAZU Link to comment Share on other sites More sharing options...
0 Psychedelic 13 Odesláno: 6. Duben, 2009 Share Odesláno: 6. Duben, 2009 Nejdeto furt ten samej error Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 6. Duben, 2009 Share Odesláno: 6. Duben, 2009 ukaz cely public OnPlayerCommandText(playerid, cmdtext[]) Link to comment Share on other sites More sharing options...
0 Guest zdenek Odesláno: 7. Duben, 2009 Share Odesláno: 7. Duben, 2009 if(strcmp("/warp", cmdtext, true, 10) == 0){ Link to comment Share on other sites More sharing options...
0 Psychedelic 13 Odesláno: 7. Duben, 2009 Share Odesláno: 7. Duben, 2009 Už sem se nato vyprd ale ažř bude čas tak to zkusím znova Link to comment Share on other sites More sharing options...
Dotaz
Trucking 0
Prosim vas mužete tady napsat nejaky lehky tut na warp?? ja se koukal na *****box a tam je jeden ale to mi hodilo tolik chyb že to je hruza :-(
Budte tak hodni a prcněte sem tut na warpy... děkuji
Link to comment
Share on other sites
16 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now