Raised This Month: $ Target: $400
 0% 

Problem with the script


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Boomd
Junior Member
Join Date: Jun 2012
Old 06-20-2012 , 16:31   Problem with the script
Reply With Quote #1

Code:
public DeathMatch(playerid)
{
75:	 SendClientMessageToAll(COLOR_RED,  "DM event has started");
     SetPlayerCheckpoint(playerid, 1479.2354, -1416.1747, 11.8828, 312.7815);
     SetWorldTime(XX:50);
	 return 1;
}
D:\igri\gta sa\GTA San Andreas\pawno\eventdm.pwn(75) : error 035: argument type mismatch (argument 1)

Last edited by Boomd; 06-20-2012 at 16:32.
Boomd is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-20-2012 , 16:41   Re: Problem with the script
Reply With Quote #2

We do not know anything about coding for GTA. Recommend you finding the appropriate site to ask your question
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 06-20-2012 , 18:32   Re: Problem with the script
Reply With Quote #3

I,think playerid is not a valid index,It should be id or player.
But,I don't know about GTA Scripting.Try changing index to id.If it work
__________________
Working On:
  1. Gameplay 1 - 0% [PAUSED]
Waleed is offline
Send a message via Skype™ to Waleed
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-20-2012 , 18:34   Re: Problem with the script
Reply With Quote #4

Quote:
Originally Posted by Waleed View Post
I,think playerid is not a valid index,It should be id or player.
Nothing to do with the error

Quote:
But,I don't know about GTA Scripting.
Then do not suggest anything

Quote:
Try changing index to id.If it work
Where do you see id defined?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode