Haii leute Meine strassenspeere spuckt igendwie error aus nur finde fehler net
habe sufu genutzt und es probiert nachzubauen wie die andren nur warning -.-
Bitte helft mir
CODE:
Code
dcmd_spa(playerid,params[])
{
#pragma unused params
new name[MAX_PLAYER_NAME], s[128];
new Float:x, Float:y, Float:z;
GetPlayerName(playerid,name,sizeof(name));
GetPlayerPos(playerid, x, y, z);
format(s,sizeof(s),"acc/%s.ini",name);
new jobid = dini_Int(s, "job");
new admin = dini_Int(s, "admin");
if(jobid == 1 || jobid == 2 || jobid == 3 || jobid == 4 || jobid == 15 || admin == 2)
{
sp[playerid] = CreateObject(1459, x, y, z, 0.0, 0.0);
SendClientMessage(playerid, blau, "Strassenspeere aufgebaut.");
}
return 1;
}
Alles anzeigen
Warning:
Code
C:\Users\Rene\Desktop\GermanExtremo.pwn(5128) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Danke!
MFG: Qini