new pickup = CreatePickup(pickupid, 2, X, Y, Z, -1);public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == pickup) { SetPlayerPos(playerid, X, Y, Z); SetPlayerInterior(playerid, interiorid); } return 1;}
new pickup = CreatePickup(pickupid, 2, X, Y, Z, -1);
C:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1610) : warning 213: tag mismatchC:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1625) : error 021: symbol already defined: \"AllowInteriorWeapons\"C:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1628) : error 021: symbol already defined: \"SetGameModeText\"C:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1630) : error 021: symbol already defined: \"ShowPlayerMarkers\"C:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1650) : error 021: symbol already defined: \"AddPlayerClass\"C:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1653) : error 021: symbol already defined: \"CreateObject\"C:\\Documents and Settings\\Bando\\Asztal\\Programok,játék,egyéb\\samp03csvr_win32\\gamemodes\\Stunt_MOD.pwn(1610) : warning 204: symbol is assigned a value that is never used: \"test\"
new test;public OnGameModeInit(){ test = CreatePickup(1274, 1402.4879,286.1711,19.5547, 9.0); return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == pickup) { SetPlayerPos(playerid, 246.375991,109.245994,1003.218750); SetPlayerInterior(playerid, 10); } return 1;}
#include <a_samp>new test;public OnFilterScriptInit(){ test = CreatePickup(1274, 1402.4879,286.1711,19.5547, 9.0); return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == pickup) { SetPlayerPos(playerid, 246.375991,109.245994,1003.218750); SetPlayerInterior(playerid, 10); } return 1;}
warning 213: tag mismatch
#include <a_samp>new test;public OnFilterScriptInit(){ test = CreatePickup(1274, 1402.4879, 286.1711, 19.5547, 9.0); --> Ide írja a hibát. return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == test) { SetPlayerPos(playerid, 246.375991,109.245994,1003.218750); SetPlayerInterior(playerid, 10); } return 1;}
#include <a_samp>new test;public OnFilterScriptInit(){ test = CreatePickup(1274, 1, 1402.4879, 286.1711, 19.5547, 9.0); return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == test) { SetPlayerPos(playerid, 246.375991,109.245994,1003.218750); SetPlayerInterior(playerid, 10); } return 1;}
#include <a_samp>new test;public OnFilterScriptInit(){ test = CreatePickup(1274, 1, 1402.4879, 286.1711, 19.5547); return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == test) { SetPlayerPos(playerid, 246.375991,109.245994,1003.218750); SetPlayerInterior(playerid, 10); } return 1;}
246.3291,107.4994,1003.2188
1401.3627,284.1573,19.5547
#include <a_samp>new be;new ki;public OnFilterScriptInit(){ be = CreatePickup(1274, 1, 1402.4879, 286.1711, 19.5547); ki = CreatePickup(1274, 1, 246.3291,107.4994,1003.2188); return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == be) { SetPlayerPos(playerid, 246.375991,109.245994,1003.218750); SetPlayerInterior(playerid, 10); } if(pickupid == ki) { SetPlayerPos(playerid, 1401.3627,284.1573,19.5547); SetPlayerInterior(playerid, 0);} return 1;}