#include <a_samp>new lift; public OnGameModeInit(){ lift = CreateObject(3036, 1748.1999511719, -2312.3000488281, 12.60000038147, 271.99993896484, 0, 0); return 1; }public OnPlayerCommandText(playerid, cmdtext[]){ if(strcmp(cmdtext, \"/lift-fel\", true) == 0) { MoveObject(lift, 1748.4000244141, -2311.1000976563, 24.39999961853, 2.0); return 1; } if(strcmp(cmdtext, \"/lift-le\", true) == 0) { MoveObject(lift, 1748.1999511719, -2312.3000488281, 12.60000038147, 2.0); return 1; } return 0;}
mien samp verzióba akarod csinálni? 0.3e vagy 0.3d?
if(strcmp(cmdtext, \"/lift-fel\", true) == 0) { MoveObject(lift, 1748.4000244141, -2311.1000976563, 24.39999961853, 2.0, 270, 0, 0); return 1; } if(strcmp(cmdtext, \"/lift-le\", true) == 0) { MoveObject(lift, 1748.1999511719, -2312.3000488281, 12.60000038147, 2.0, 270, 0, 0); return 1; }
#include <a_samp>new lift; public OnGameModeInit(){ lift = CreateObject(3036, 1748.1999511719, -2312.3000488281, 12.60000038147, 271.99993896484, 0, 0); return 1; }public OnPlayerCommandText(playerid, cmdtext[]){ if(strcmp(cmdtext, \"/lift-fel\", true) == 0) { MoveObject(lift, 1748.4000244141, -2311.1000976563, 24.39999961853, 2.0, 270, 0, 0); return 1; } if(strcmp(cmdtext, \"/lift-le\", true) == 0) { MoveObject(lift, 1748.1999511719, -2312.3000488281, 12.60000038147, 2.0, 270, 0, 0); return 1; }
C:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(27) : warning 202: number of arguments does not match definitionC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(27) : warning 202: number of arguments does not match definitionC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(27) : warning 202: number of arguments does not match definitionC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(35) : warning 217: loose indentationC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(39) : warning 202: number of arguments does not match definitionC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(39) : warning 202: number of arguments does not match definitionC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(39) : warning 202: number of arguments does not match definitionC:\\Documents and Settings\\Dyr Oss\\Asztal\\szerver\\filterscripts\\lift.pwn(45) : error 030: compound statement not closed at the end of file (started at line 23)Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.