Beiträge von Simple
-
-
Du musst MoneySpam definieren.
Zeig mal den CodeÜbrigens:
Falscher Bereich -
Hast du denn die Include core?
-
Hattest du die include geöffnet,
Wenn nein:
Starte im pawno Ordner die pwn exe und öffne darüber dein Script. Dann sollte es gehen. -
Ja bei mir musst du unten nur 1 Klammer ergänzen.
-
Mööööööp
if(strcmp(cmd, "/am", true) == 0 || strcmp(cmd, "/amegaphone", true) == 0)
{
if(IsPlayerConnected(playerid))
{
//new tmpcar = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "Benutze: (/am)egaphone [megaphone chat]");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "[Admin %s:o< %s]", sendername, result);
ProxDetector(60.0, playerid, string,RED,RED,RED,RED,RED);
}
}
return 1; -
Ziehe erst auf eine neue Version um, wenn die offizielle 0.3d Version draußen ist.
-
-
stock IstErAmStand(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,2153.1157,-2146.6943,13.5469,5)){return true;}
else if(IsPlayerInRangeOfPoint(playerid,2136.3438,-2136.6592,13.5469,5)){return true;}
else{return false;}
} -
-
Schlechtes Tutorial
Es gibt schon mehrere Tor-Tuts, also warum machst du auch noch eins?!
Und dann auch noch in so einer Qualität, bitte nein.
2/10 für die "Mühe" -
JaEin, Du brauchst um das Modell, heißt das Object ohne Texturen, zu entwerfen ein 3D Programm. Allerdings kann man soweit ich weiß nur ersetzen, nicht neu machen. Textuten kann man mit Paint oder sowas halt verändern, entsprechende Formate müssen immer Umgewandelt werden.
-
JA ich sehs grade:D habe Das SendClientMessage vergessen XD
Also füge das SendClientMessage noch ein, nur wo normal der Text hinkommt schreibs du string ohne " " -
Ja das funktioniert.
Benutze Textdraws. -
Ich würde dir das Dateisystem dini empfehlen, ist sehr einfach anzuwenden:
http://dracoblue.net/download/dini-16/35/
!!!
Tutorials zu dini findest du glaube ich auch hier im Forum, wenn nicht --> sa-mp.com -
Benutzt dein Dings OnPlayerUpdate, es könnte auch Serverseitig sein.
-
public verhaftet(playerid)
{
if(GetPVarInt(playerid,"Jailtime") >0)
{
new string[40];
format(string,sizeof(string),"Du musst noch %d Minuten sitzen",GetPVarInt(playerid,"Jailtime"));//2490
SetPVarInt(playerid,"Jailtime", GetPVarInt(playerid,"Jailtime")-1);
SpielerSpeichern(playerid);
return 1;
}
else
{
SetPlayerPos(playerid,221.7620,121.3482,999.0156);
SetPVarInt(playerid,"Jail",0);
SetPVarInt(playerid,"Wanteds",0);
SetPlayerWorldBounds(playerid,20000,-20000,20000,-20000);
SpielerSpeichern(playerid);
return 1;
}
}Sorry, habe eine Klammer vergessen
-
Laggt SA:MP oder GTA?
-
Die SetTimer funktion da einfügen, !mit Parameter repeating 1!, wo dein Spieler in Knast kommt
public jailtimer(playerid)
{
if(GetPVarInt(playerid,"Jailtime") >0);
{
new string[40];
format(string,sizeof(string),"Du musst noch %d Minuten sitzen",GetPVarInt(playerid,"Jailtime");
SetPVarInt(playerid,"Jailtime", GetPVarInt(playerid,"Jailtime")-1);
SpielerSpeichern(playerid);
return 1;
}
else
{
//Was passieren sol wenn jailtime rum is
}
} -
ocmd:ausruesten(playerid,params[])
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//LCN
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);}
else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Yaku
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);}
else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//Präsident
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);}
else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)//San NEws
{
GivePlayerWeapon(playerid, 41, 2000);
GivePlayerWeapon(playerid, 43, 50);}
else if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)//GS
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);
}
else if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)//Balas
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);
}
else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//RS
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);
}
else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//Vagos
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);
}
else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)//Aztecas
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);
}
else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)//Rifa
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);
}
else if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)//MWR
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);}
else if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)//Terror
{
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 24, 70);
GivePlayerWeapon(playerid, 25, 70);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 30, 200);}
else if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)//O-Amt
{
GivePlayerWeapon(playerid, 41, 2000);
GivePlayerWeapon(playerid, 24, 70);
}
return 1;
}Rück deine Sachen wenigstens halbwegs richtig ein, Klammerfehler...