Hallo
Ich bin gerade an einem Teil dran, wenn man Stirtbt, wird ein 3D Text Erstellt, und ein Pickup,
Aber das Funktioniert nicht,
Hier mal mein Script Teil:
public OnPlayerDeath(playerid, killerid, reason)
{
new string[128];
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x,y,z);
format(string,sizeof(string),"Hier liegt die Leiche von: %s !R!I!P!",SpielerName(playerid));
Create3DTextLabel(string,Weis,x,y,z,10,0);
CreatePickup(1254,1,x,y,z,0);
return 1;
}
Und wenn ich nun Abkratze, bekomme ich einen Execrash, aber zuvor wird der Chat mit diesen Errors vollgespammt:
[16:44:15] {FFFFFF}SA-MP {B9B9BF}0.3e-RC7 {FFFFFF}Started
[16:44:18] Connecting to 127.0.0.1:8303...
[16:44:18] Connected. Joining the game...
[16:44:18] Connected to {B9B9BF}Tutorialserver
[16:44:20] Du hast dich Erfolgreich auf unserem Server EIngeloggt.
[16:44:24] Der Befehl: /kill wurde nicht Gefunden
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x40F67C
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
[16:46:16] Warning(s007): Exception 0xC0000005 at 0x779AB5A0
Was geht da ab ?
//E
Der Text und as Pickuup werden aber Erstellt, wie ich gerade sagh