Hab ich vorhin bemerkt, doch bei mir steht immer noch nix überm Kopf..
Beiträge von Vince
-
-
Naja, ich hätte einheitliche Farben genommen. So siehts aus wie ein gewöhnliches Pier.
Blau z.b.
Und ein Segelboot für die Polizei?^^
Finde ich jetz persöhnlich nix besonderes..
4/10
-
Für ne erste Map nicht schlecht.
Täusch ich mich, oder ist das Tor dort bei den NRG's schräg?^^
-
Sieht nicht schlecht aus. Doch n Getränkeautomat in der Wand?^^
-
Ich hab ma gehört, dass man Sägemehl draufmachen solle...
Ka, ob es wirklich was bringt^^
-
-
Also wenn ich jetz connecte, sieht das dann nur der andere Spieler oder ich auch?
-
Gar keiner.
Keine Errors, keine Warnings, doch es wird nix über dem Admin angezeigt-.-
PS: Hab das bei OnPlayerConnect. Das sollte doch gehen?
Mfg Vince
-
Hi,
Mal ne kleine Frage:
Was is daran falsch?
if(isPlayerAnAdmin(playerid,3))
{
label[playerid] = Create3DTextLabel("ADMIN",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
return 1;
} -
Ebenfalls 7/10.
Die Farben sind nicht ganz mein Geschmack :D.
Aber ich würd das so lassen, wenn ich so gut Signaturen machen könnte, wie du
-
-
Hast PN
-
Sorry, da bin ich leider überfragt. Ich hab das ma irgendwo hinbekommen. Bin aber selbst noch Anfänger, was das Scripten angeht..
Tut mir leid..
-
Ja so:
if(strcmp(tmp,"/explode",true)==0)
tmp = strtok(cmdtext, idx);
giveplayerid = strval(tmp);
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
{
if(IsPlayerConnected(giveplayerid))
{
new Float:x, Float:y, Float:z;
GetPlayerPos(giveplayerid,x,y,z);
CreateExplosion(x,y,z,7,16);
return 1;
}
}Gibt 3 Errors, wenn ich das giveplayer noch lasse..
-
C:\Users\Vince\Desktop\Local Server\pawno\include\dutils.inc(298) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dutils.inc(462) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dini.inc(46) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dini.inc(54) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(145) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(146) : warning 217: loose indentation
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(147) : error 035: argument type mismatch (argument 2)
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(147) : error 035: argument type mismatch (argument 2)
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(148) : warning 217: loose indentation
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(740) : warning 203: symbol is never used: "giveplayer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase3 Errors.
Wenn ich das giveplayer weg nehme, krieg ich wieder 5 Errors..
-
Upsi
Hab das von den anderen kopiert und gar net drauf geachtet.
Na dann noch 4 Errors
C:\Users\Vince\Desktop\Local Server\pawno\include\dutils.inc(298) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dutils.inc(462) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dini.inc(46) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dini.inc(54) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(13) : error 021: symbol already defined: "label"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(145) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(146) : warning 217: loose indentation
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(147) : error 035: argument type mismatch (argument 2)
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(147) : error 035: argument type mismatch (argument 2)
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(148) : warning 217: loose indentation
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(740) : warning 203: symbol is never used: "giveplayer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase4 Errors.
-
Hab jetz 5 Errors.
Also ich hab oben im Script:
new Text3D:label[MAX_PLAYERS];
new idx;
new tmp[64];
new giveplayerid;
new gibeplayer;Und bei OnPlayerCommandText:
if(strcmp(cmdtext,"/explode",true)==0)
tmp = strtok(cmdtext, idx);
giveplayerid = strval(tmp);
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
{
if(IsPlayerConnected(giveplayerid))
{
new Float:x, Float:y, Float:z;
GetPlayerPos(giveplayerid,x,y,z);
CreateExplosion(x,y,z,7,16);
return 1;
}
}Und hier die Errors:
C:\Users\Vince\Desktop\Local Server\pawno\include\dutils.inc(298) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dutils.inc(462) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dini.inc(46) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\pawno\include\dini.inc(54) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(138) : error 047: array sizes do not match, or destination array is too small
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(139) : warning 217: loose indentation
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(140) : error 017: undefined symbol "giveplayer"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(140) : error 017: undefined symbol "giveplayer"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(140) : error 029: invalid expression, assumed zero
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(140) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
-
Nein
-
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(126) : error 017: undefined symbol "tmp"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(126) : warning 217: loose indentation
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(126) : error 017: undefined symbol "idx"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(127) : error 017: undefined symbol "giveplayerid"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(127) : error 017: undefined symbol "tmp"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(128) : error 017: undefined symbol "giveplayerid"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(128) : error 017: undefined symbol "giveplayer"
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(128) : error 029: invalid expression, assumed zero
C:\Users\Vince\Desktop\Local Server\filterscripts\Selfmade.pwn(128) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
-