HEy kann jetzt objecte erstellen aber keine moveobjects^^ hier mal :
#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new y_gate;
public OnFilterScriptInit()
{
y_gate = CreateObject(986,1588.491699,-1637.783203,14.141568,0.000000,0.000000,0.000000);
print("\n--------------------------------------");
print(" Made by KJ");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/pdo", true) == 0){
MoveObject(y_gate,986,1596.682129,-1637.546143,14.429418,0.000000,0.000000,0.000000);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
return 1;
}
if (strcmp(cmdtext, "/pdc", true) == 0){
MoveObject(y_gate,986,1588.427490,-1637.588867,14.185813,0.000000,0.000000,0.000000);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: Yakuza Gelände!");
return 1;
}
return 0;
}
hier die 6 warnings
C:\Users\kevin\Desktop\Pdgate.pwn(32) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\Pdgate.pwn(32) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\Pdgate.pwn(32) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\Pdgate.pwn(37) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\Pdgate.pwn(37) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\Pdgate.pwn(37) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Warnings.